[vox-tech] vfat and permissions - anyone seen this before?

Ryan vox-tech@lists.lugod.org
Mon, 11 Mar 2002 18:24:34 -0800


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vfat has some permission flags, hidden, system, archive, and read only.

Perhaps you had one of these set?

Windows usualy uses hidden and system to keep people from finding the sys=
tem=20
files to mess with them (windows won't let you see them unless you tell i=
t to=20
byy ajusting some settings.)



On Monday, March 11 2002 05:40 pm, Ken Bloom wrote:
> I have a vfat partition mounted as follows, and it has some permissions
> wierdness
> #from /etc/fstab
> /dev/hda6 /home/bloom/mydocs vfat
> iocharset=3Diso8859-1,umask=3D077,gid=3D501,codepage=3D850,noexec,uid=3D=
501 0 0
>
> When I first set it up, the directories on the partition had the
> following permissions: (the files which I omitted using grep all had
> permissions: 0700)
> drwx------    3 bloom    bloom        4096 Mar  1 17:03 Adobe/
> drwx------    3 bloom    bloom        4096 Dec  2 15:28 AFI/
> drwx------    2 bloom    bloom        4096 Jan  6 15:13 Birkat/
> drwx------    2 bloom    bloom        4096 Jan 18 00:28 coopapp/
> drwx------    4 bloom    bloom        4096 Jul 24  2001 Devices/
> drwx------    2 bloom    bloom        4096 Jul  8  2001 Documentation/
> drwx------   12 bloom    bloom        4096 Mar 11 08:32 Downloads/
> drwx------    3 bloom    bloom        4096 Jul  9  2001 Fax/
> drwx------    4 bloom    bloom        4096 Jan 14 13:13 Finances/
> drwx------    4 bloom    bloom        4096 Jul  8  2001 Hack/
> drwx------    2 bloom    bloom        4096 Jan  1 16:24 kyack/
> drwx------    7 bloom    bloom        4096 Mar  1 17:05 MP3s/
> dr-x------    3 bloom    bloom        4096 Mar 11 13:43 My Pictures/
> dr-x------    3 bloom    bloom        4096 Mar  1 16:54 Pictures/
> drwx------   16 bloom    bloom        4096 Oct  7 16:07 Programming/
> drwx------    8 bloom    bloom        4096 Jan 16 18:05 School Work/
>
> I was wondering why the kernel chose for this to happen, and was going
> to make that the major question of my post. The permissions had effect,
> so it wasn't just a display bug (I really was not allowed to copy files
> into the two pictures directories, for example, but I was able to copy
> files into the others)
>
> Then I decided to try to chmod the two folders with `chmod +x Pictures
> 'My Pictures'`. I expected it to spit out an error message saying that =
I
> couldn't do that because it was a vfat partition. Surprisingly it
> worked. My directory listing is now
> drwx------    3 bloom    bloom        4096 Mar  1 17:03 Adobe/
> drwx------    3 bloom    bloom        4096 Dec  2 15:28 Aggies for Isra=
el/
> drwx------    2 bloom    bloom        4096 Jan  6 15:13 Birkat/
> drwx------    2 bloom    bloom        4096 Jan 18 00:28 coopapp/
> drwx------    4 bloom    bloom        4096 Jul 24  2001 Devices/
> drwx------    2 bloom    bloom        4096 Jul  8  2001 Documentation/
> drwx------   12 bloom    bloom        4096 Mar 11 08:32 Downloads/
> drwx------    3 bloom    bloom        4096 Jul  9  2001 Fax/
> drwx------    4 bloom    bloom        4096 Jan 14 13:13 Finances/
> drwx------    4 bloom    bloom        4096 Jul  8  2001 Hack/
> drwx------    2 bloom    bloom        4096 Jan  1 16:24 kyack/
> drwx------    7 bloom    bloom        4096 Mar  1 17:05 MP3s/
> drwx------    3 bloom    bloom        4096 Mar 11 13:43 My Pictures/
> drwx------    3 bloom    bloom        4096 Mar  1 16:54 Pictures/
> drwx------   16 bloom    bloom        4096 Oct  7 16:07 Programming/
> drwx------    8 bloom    bloom        4096 Jan 16 18:05 School Work/
>
> I decided to see whether rebooting the computer would have any effect
> (perhaps the permissions I assigned were cached in RAM somewhere.) When
> I rebooted, the permissions were the same (everything was 0700).
>
> So here are my questions:
>
> Why did the system originally decide that the two pictures folders
> should not be writable?
> What did the system change when I ran the chmod command?
>
> I'm using kernel 2.4.18-4mdk.
> I swear I'm not using UMSDOS.
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

- --=20
No Microsoft products were used in any way for the creation of this messa=
ge.
PGP Public key at http://mother.com/~ryan/ryan_at_mother_dot_com.asc
It is also on the servers: Key ID 0x72177BC7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8jWbrEd9E83IXe8cRAm67AJ9vlsfgHMJ0iMt2fZCYvuG8QW6dpgCfcYyw
JG7dCpLSqsRGdqT22NdCy70=3D
=3D2Avy
-----END PGP SIGNATURE-----