l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2002 Mar 12 08:53

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] vfat and permissions - anyone seen this before?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



-----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 system 
files to mess with them (windows won't let you see them unless you tell it to 
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=iso8859-1,umask=077,gid=501,codepage=850,noexec,uid=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 Israel/
> 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

- -- 
No Microsoft products were used in any way for the creation of this message.
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=
=2Avy
-----END PGP SIGNATURE-----
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.