[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gid problem



On Wed, 2002-06-05 at 18:31, Anthony E. Greene wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05-Jun-2002/21:55 +0200, "mr.linux" <mr linux flashnet it> wrote:
> >I tried to give my user the permission of writing to a vfat partition 
> >(applying gid) but I think I made a mess ...... and obviously it doesn't
> >work. 
> 
> I don't think GID applies to VFAT partitions. The VFAT file system does
> not support the concept of file ownership. By default, whoever mounts the
> partition owns the files.

VFAT doesn't, but the linux VFS does, regardless of the underlying FS.

If you mount a disk with the gid option, all files will be owned by that
group, and members of that group will have read/write access to the
files (if the default mode permits...)

Something in /etc/fstab like this should work:

/dev/hda1	/mnt/dosfs	vfat	defaults,gid=507,umask=003 0 0






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]