Protecting lost+found from rmdir by directory owner?

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

 



Let's say I create a new ext4 filesystem for exclusive use by alice and
when I mount it, say, on /mnt/alice I set the permissions so that alice
can work in that directory:

# mkfs.ext4 /dev/foo
# mount /dev/foo /mnt/alice
# chown alice:alice /mnt/alice
# chmod 775 /mnt/alice

But now /mnt/alice/lost+found is at the mercy of alice since she has
write permission for /mnt/alice.

[How] can I protect /mnt/alice/lost+found from removal by alice?

Thoughts?

b.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux