Re: Access to FAT32 - Suse
- From: Robert Newson <ReapNewsB@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 04 Feb 2007 20:56:53 GMT
Darko Cakardic wrote:
Hi
I made a FAT32 partition for thunderbird mailbox so i can access the
same mailbox from windows and linux.
My user group is also Users and Root.
When i log as root i have permissions for root - view and modify
group - users - view and modify
others - view
1. why cant i modify permissions for others?
2. why cant i read and modify the partition although i have set the
permissions?
fat32 has no idea of file permissions, therefore the fat32 fs driver for Linux implements them on a /partition/ wide basis and they're set at mount time:
----8<--------8<--------8<--------8<--------8<--------8<--------8<----
Date: Fri, 06 May 2005 13:14:44 +0100
From: Robert Newson <ReapNewsB@xxxxxxxxxxxxxxxxxxx>
Subject: Re: Write permission on Fat-Partition to Users
Tobias Portmann wrote:
> I have Debian 3.1 installed on my computer. I have also M$ XP. That I
> can use the MP3-Collection on both OS I made an FAT-Partition. On Debian
> the users have no write permition to the partition. How can I change
> this? edit the fstab File? This ist the fstab-entry for my Partition:
> >>/dev/hda7 /music vfat defaults,user 0 2
> > How can I change the permission, that every user can read and write?
> > Thanks.
Question asked many times...
$ man mount
....
FILESYSTEM SPECIFIC MOUNT OPTIONS
....
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.
At boot time, the process that uses /etc/fstab to mount the fs's is running
as root, thus any [v]fat partition is mounted as uid=root, gid=root with the
default umask (usually 022 - meaning rwxr-xr-x).
If you don't care about anyone being able to write, add option umask=0
(rwxrwxrwx):
/dev/hda7 /music vfat defaults,umask=0 0 2
Or if you want to allow only selected users to be able to write there (as I
have), create a vfat group on a free gid (eg 499) and add that with
umask=002 (rwxrwxr-x):
/dev/hda7 /music vfat uid=0,gid=499,umask=002 0 2
and add users you want to write to the vfat partition to the vfat group.
.
- References:
- Access to FAT32 - Suse
- From: Darko Cakardic
- Access to FAT32 - Suse
- Prev by Date: MIssing hard drive after kernel upgrade
- Next by Date: Re: nVidia driver installation via bash
- Previous by thread: Re: Access to FAT32 - Suse
- Next by thread: How to restore access to Windows XP after installing Linux?
- Index(es):
Relevant Pages
|