[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Making a vfat partition writeable by all in `users' group?
- From: Aaron Konstam <akonstam Trinity Edu>
- To: shrike-list redhat com
- Subject: Re: Making a vfat partition writeable by all in `users' group?
- Date: Tue, 22 Apr 2003 09:24:01 -0500
On Tue, Apr 22, 2003 at 12:42:49AM +0100, D. D. Brierton wrote:
> I have a smallish vfat partition which I use for sharing files between
> Linux and Windows. However, I can't seem to get the /etc/fstab entry
> correct to allow it, and the files on it, to be writable by any user in
> the `users' group. This is my current entry:
>
>
> /dev/hda6 /mnt/shared vfat users,quiet,gid=users,dmask=0770,fmask=0660 0 0
> The aim is that when mounted at boot, everything is owned by user `root'
> and group `users', and directories have permissions drwxrwx-- and files
> have permissions -rw-rw--. However, what I actually have is this:
>
>
> $ ls -l /mnt/
> drwxr-xr-x 2 root root 4096 Apr 4 02:14 cdrom
> drwxr-xr-x 2 root root 4096 Apr 13 13:49 floppy
> drwxr-xr-x 4 root users 16384 Jan 1 1970 shared
> $ ls -l /mnt/shared/
> drwxr-xr-x 2 root users 32768 Apr 5 05:04 Recycled
> drwxr-xr-x 3 root users 32768 Apr 5 05:04 System Volume Information
> -rwxr-xr-x 1 root users 26624 Apr 15 02:40 Thumbs.db
> As you can see, the permissions were not what I expected. I have to su
> to copy or move anything to /mnt/shared or to delete anything on it.
>
> What am I getting wrong here?
>
> TIA, Darren
>
> --
You have lots of options on the fstab lines that seem unecessary.
All you need is : /dev/hda6 /mnt/shared vfat rw 0 0
And the directory /mnt/shared should be 777.
--
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200
telephone: (210)-999-7484
email:akonstam trinity edu
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]