[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file permisions
On Mon, 03 Jan 2000 16:35:33 +0000, ross <ros.h [at] virgin.net> wrote:
>sheflug - http://www.sheflug.co.uk
>
>can anyone help?
>
>i'm stuck with with file permisions for vfat file systems.
>i want to configure the home directory for a standard user on a vfat
>file system but i can't set the file permisions to rw for users (root
>has the access i want but i don't want to run as root)
>i'm running suse 6.3 i've tried setting it via fstab file / yast / kde's
>kfstab and manually with chmod rwx and chmod 777. the books have been of
>little help as the file permisions seem to be automatically checked. i
>found a setting for this check in yast which i switched off. i changed
>the file settings in mtab. during bootup, a message apears showing the
>file permissions reverting back to the previous settings. rw noexec
>nosuid nodev
>
>any idea's?
>
>ross
>
I strugled with this problem for a while as well. The answer is in the
mount man page. You need to add some options to your fstab. You need
to set the uid and gid options in fstab to a user and a group who are
able to access the files. I normally set up a group called dos and add
my self to that.
I then add the uid=0,gid=120 (or whatever the gid of the group is) to
the fstab options field. You can then set permissions. This is set by
the umask option. This is a inverse of the mask that you would pass to
chmod. It's a mask of options you DON'T want. So if you really want
the same option as chmod 777, you would set umask=000. I think there
is another digit that needs adding to the umask, but I can't for the
life of me remember what it is.
Check the man page for mount, each file system has it's own section in
there, make sure you check out both the fat, dos and vfat sections.
>
>______________________________________________________________________
>To unsubscribe, write to sheflug-unsubscribe [at] listbot.com
>Start Your Own FREE Email List at http://www.listbot.com/links/joinlb
--
Matthew Collins
Start your own FREE mailing list at
© 2000 Microsoft Corporation. All Rights Reserved