[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filesystem corruption bug in libdiskfs

From: M.P.Anand Babu
Subject: Re: Filesystem corruption bug in libdiskfs
Date: 08 Dec 2002 22:20:33 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2

| Abstract <address@hidden> writes:
| In diskfs_rename_dir, filesystem corruption can result if a directory is
| moved that by a user who cannot write to the parent directory. For
| example:
| $ sudo chown -R tla.tla /src/hurd
| $ mv /src/hurd /home/tla
| ext2fs.static: ..../libdiskfs/dir-renamed.c:202: diskfs_rename_dir:
| Assertion `tmpnp == fnp' failed.
| The cause of this is that the filesystem is modified (the source
| directory's .. node is changed, and a reference is added to the target dir
| to point to the source dir) before any check is made for writability to
| the parent node.

This bug is fixed in the CVS version already.

Free as in Freedom <www.gnu.org>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]