]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] udf: fix uid/gid options and add uid/gid=ignore and forget options
authorPhillip Susi <psusi@cfl.rr.com>
Sat, 25 Mar 2006 11:08:14 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:23:00 +0000 (08:23 -0800)
commit2b37afbd559f41aa7165dbb016533f953b2c101a
treede537ca068cd7fc2a1d20a47f16c9091cf4c64ff
parent34a15c408e7a1ef1e6874497dc6f208a635cee4e
[PATCH] udf: fix uid/gid options and add uid/gid=ignore and forget options

As Pekka Enberg pointed out, with the if still following the else, you can
still get a null uid written to the disk if you specify a default uid= without
uid=forget.  In other words, if the desktop user is uid=1000 and the mount
option uid=1000 is given ( which is done on ubuntu automatically and probably
other distributions that use hal ), then if any other user besides uid 1000
owns a file then a 0 will be written to the media as the owning uid instead.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/filesystems/udf.txt
fs/udf/inode.c