Re: file permissions and /etc/fstab
- From: Robert Newson <ReapNewsB@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 20:27:49 GMT
Ash wrote:
Yeah. I dual boot with Windows XP, and the Downloads partition is FAT.
Up until now, I've been using sudo nautilus to change my files. I'm
using Fedora Core 5, and my current entry for /dev/hda5 is something
like :
/dev/hda5 /Downloads Defaults 0 0
$ man mount
....
Mount options for fat
(Note: fat is not a separate filesystem, but a common part
of the msdos, umsdos and vfat filesystems.)
....
uid=value and gid=value
Set the owner and group of all files. (Default: the
uid and gid of the current process.)
umask=value
Set the umask (the bitmask of the permissions that
are not present). The default is the umask of the
current process. The value is given in octal.
fat has no idea of access permissions so they are set at the mount time via the umask option. If the partition is automounted at boot, then uid=0 (root), gid=0 (root), umask=002 (rwxrwxr-x) - as that'll be the values of the mount process.
I have my fat partitions set up viz:
/dev/hda1 /win/c vfat uid=0,gid=499,umask=002 0 0
and I put all those users I want to allow to write to it into my vfat group (gid=499).
The easiest suggestion I can give you, is to add umask=0 (= rwxrwxrwx) which means anyone can write there, viz:
/dev/hda5 /Downloads vfat umask=0 0 0
.
- References:
- file permissions and /etc/fstab
- From: Ash
- Re: file permissions and /etc/fstab
- From: Robert Newson
- Re: file permissions and /etc/fstab
- From: Ash
- file permissions and /etc/fstab
- Prev by Date: Re: Console Problem!
- Next by Date: Re: Best GUI for 64 MB linux machine?
- Previous by thread: Re: file permissions and /etc/fstab
- Next by thread: Re: file permissions and /etc/fstab
- Index(es):
Relevant Pages
|