[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] "Permissions" problem?
On Wed, Aug 14, 2002 at 12:34:02PM +0100, Ruth Gunstone wrote:
[...]
> What am I doing wrong? (or not doing?). Am I approaching this problem in the
> wrong way to start with?
The permissions for FAT filesystems are set when the filesystem is mounted,
so it tends to be set up in /etc/fstab.
The options you need to look at are 'uid', 'gid' and 'umask'. If you want
everyone on the machine to have r/w access to the windows filesystem, you
could just use "umask=0", which would allow any account on the machine to
read and write to any files on the partition.
Personally, I normally set myself up with a seperate group in /etc/group
called "windows" or something like that. I then mount the filesystem with
umask=0003 and gid=<gid of my "windows" group>. This means that any user in
the "windows" group has read-write access, and anyone else just hs readonly
access..
--
Chris
http://crispygoth.livejournal.com/
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.