Revision 4d6660eb3665f22d16aff466eb9d45df6102b254 authored by Phillip Susi on 08 March 2006, 05:55:24 UTC, committed by Linus Torvalds on 08 March 2006, 22:14:00 UTC
Fix a bug in udf where it would write uid/gid = 0 to the disk for files owned by the id given with the uid=/gid= mount options. It also adds 4 new mount options: uid/gid=forget and uid/gid=ignore. Without any options the id in core and on disk always match. Giving uid/gid=nnn specifies a default ID to be used in core when the on disk ID is -1. uid/gid=ignore forces the in core ID to allways be used no matter what the on disk ID is. uid/gid=forget forces the on disk ID to always be written out as -1. The use of these options allows you to override ownerships on a disk or disable ownwership information from being written, allowing the media to be used portably between different computers and possibly different users without permissions issues that would require root to correct. Signed-off-by: Phillip Susi <psusi@cfl.rr.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 7f709ed
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.4 KB |
Makefile | -rw-r--r-- | 795 bytes |
bootmem.c | -rw-r--r-- | 11.4 KB |
fadvise.c | -rw-r--r-- | 2.5 KB |
filemap.c | -rw-r--r-- | 57.7 KB |
filemap.h | -rw-r--r-- | 2.2 KB |
filemap_xip.c | -rw-r--r-- | 10.3 KB |
fremap.c | -rw-r--r-- | 5.8 KB |
highmem.c | -rw-r--r-- | 13.7 KB |
hugetlb.c | -rw-r--r-- | 13.2 KB |
internal.h | -rw-r--r-- | 900 bytes |
madvise.c | -rw-r--r-- | 8.5 KB |
memory.c | -rw-r--r-- | 65.1 KB |
memory_hotplug.c | -rw-r--r-- | 3.3 KB |
mempolicy.c | -rw-r--r-- | 46.8 KB |
mempool.c | -rw-r--r-- | 7.9 KB |
mincore.c | -rw-r--r-- | 4.4 KB |
mlock.c | -rw-r--r-- | 5.3 KB |
mmap.c | -rw-r--r-- | 53.4 KB |
mprotect.c | -rw-r--r-- | 6.5 KB |
mremap.c | -rw-r--r-- | 10.6 KB |
msync.c | -rw-r--r-- | 5.0 KB |
nommu.c | -rw-r--r-- | 27.8 KB |
oom_kill.c | -rw-r--r-- | 9.3 KB |
page-writeback.c | -rw-r--r-- | 22.8 KB |
page_alloc.c | -rw-r--r-- | 66.9 KB |
page_io.c | -rw-r--r-- | 3.6 KB |
pdflush.c | -rw-r--r-- | 6.2 KB |
prio_tree.c | -rw-r--r-- | 6.3 KB |
readahead.c | -rw-r--r-- | 16.5 KB |
rmap.c | -rw-r--r-- | 23.5 KB |
shmem.c | -rw-r--r-- | 58.6 KB |
slab.c | -rw-r--r-- | 99.6 KB |
slob.c | -rw-r--r-- | 8.7 KB |
sparse.c | -rw-r--r-- | 6.6 KB |
swap.c | -rw-r--r-- | 12.3 KB |
swap_state.c | -rw-r--r-- | 9.2 KB |
swapfile.c | -rw-r--r-- | 42.7 KB |
thrash.c | -rw-r--r-- | 2.7 KB |
tiny-shmem.c | -rw-r--r-- | 3.2 KB |
truncate.c | -rw-r--r-- | 9.4 KB |
util.c | -rw-r--r-- | 771 bytes |
vmalloc.c | -rw-r--r-- | 14.3 KB |
vmscan.c | -rw-r--r-- | 49.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...