Your message dated Thu, 31 Oct 2013 13:34:40 -0400
with message-id <[email protected]>
and subject line mount: vfat vs. chmod
has caused the Debian Bug report #388585,
regarding mount: vfat vs. chmod
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
388585: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388585
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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...


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The fat filesystem does not support storing permissions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJScpSwAAoJEJrBOlT6nu75iywH/Auk8pytWnA2odtr3BLVYMuv
W198RxANukAH/9Ys6/hVCVWPu1gobeDO5ji1oM9h4kthromKqQt5XiQ5aeqNIhmr
0E0yjY4Kw3WyVRmNdGh6T+fn6UHNW6nXGg491FC8EZCw+slPW2auVi0yV92sclo0
bF1erEgpEK9Lnh6rb1eJh0kR0RAjdqcF1ekhTeRvLoEG0DTGsCB9jkCzrcjhMqmT
Cz3lpc2LGwUzYq65J4nE2jTr/DtjSa8XDcESC1+2Apr9E0f2WyPqyVTeJ+SqLXb8
o0rhtLctrzWyOrAO1MjeU7j3EXI4oDxPypHOs6/PI4tstuv6nTTPgPNzOkNm1Xw=
=R42R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to