Package: mount
Version: 2.12r-10
Severity: normal

With a disk mounted
  type vfat (rw,noexec,nosuid,nodev,noatime,uid=1000,gid=1000,user=jidanni)
nobody including root can get past an invisible umask that makes
chmod 777 666 etc useless.

I challenge you to do a chmod that will allow other users to write a
file anywhere into that disk. It is impossible.

# chmod 777 /cf/tojidanni1/outgoing
# ls -ld /cf/tojidanni1/outgoing
drwxr-xr-x 2 jidanni jidanni 2048 Sep 21 01:43 /cf/tojidanni1/outgoing

Only root and jidanni can write anywhere on that disk. One can chmod
one's head off, no use.

Well, you see one needs some umask in /etc/fstab otherwise all files
become 777 on mount, but one wants to be able to change things
later...

OK, I use
noauto,noatime,user,fmask=133,uid=jidanni,gid=jidanni
but occasionally want to chmod 777 some dirs to allow user proxy to
write.

OK, from now on I will forget user proxy and just use root, as I don't
attempt to understand vfat.

By the way, the next day I mounted the disk on another machine, and
the file timestamps were all in GMT time or something.
I will test if
$ stat bla>bla; cat bla
looks correct when made, but not later when mounted elsewhere...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to