On 8/19/05, Sick Twist <thesicktwist@hotmail.com> wrote:
> >From: Chuck Hast <wchast@gmail.com>
> >Reply-To: slug@nks.net
> >To: slug@nks.net
> >Subject: [SLUG] VFAT read, execute only... need write
> >Date: Fri, 19 Aug 2005 06:25:27 -0600
> >
> >Folks,
> >Installed SuSE 9.3 over the past few days, it went well. But as usual there
> >are always things that are not quite the way you want them.
> >
> >I have a VFAT partition on the machine so that I can read and write between
> >the Windows NTFS and the SuSE side without worrying with writing to the
> >NTFS side. But for some reason I can not set the permissions to anything
> >but read and execute on that VFAT partition. Root can write but the rest of
> >users are only allowed read and execute.
> >
> >Here is my mtab file
> >
> >kp4djt@linux:/etc> cat mtab
> >/dev/hda4 / reiserfs rw,acl,user_xattr 0 0
> >proc /proc proc rw 0 0
> >sysfs /sys sysfs rw 0 0
> >tmpfs /dev/shm tmpfs rw 0 0
> >devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
> >usbfs /proc/bus/usb usbfs rw 0 0
> >/dev/hde1 /media/idedisk subfs rw,nosuid,nodev,sync,fs=auto 0 0
> >/dev/hda2 /media/playbox vfat rw 0 0
> >/dev/hda1 /media/windows ntfs rw 0 0
> >kp4djt@linux:/etc>
> >
> >/dev/hda2 is the partition of interest, here is a listing
> >linux:/media # ls -l
> >total 13
> >drwxr-xr-x 6 root root 152 2005-08-18 22:39 .
> >drwxr-xr-x 21 root root 488 2005-08-18 16:28 ..
> >drwxr-xr-x 2 root root 48 2005-08-17 11:13 cdrecorder
> >drwxrwxrwx 1 root root 0 2005-08-18 22:29 idedisk
> >drwxr-xr-x 5 root root 4096 1969-12-31 17:00 playbox
> >drwxr-xr-x 1 root root 8192 2005-08-18 14:15 windows
> >
> >No matter what I do, it will not allow group and others to have
> >write priviledges, root does but that is all.
>
> you need to edit the mount options in /etc/fstab for that partition. The
> options are seperated by commas (no spaces) and you can read about them by
> running 'man mount'
>
> I have a vfat partition set up and this is what I have for the mount
> options:
> defaults,uid=1000,gid=1000,umask=027,utf8
>
> Since vfat doesn't have a way to store permissions, Linux must make them up
> when the partition is mounted. This line says to make all files owned by the
> user who's UID is 1000, and all files are part of the group that is
> identified with GID 1000. The umask option I have used gives full
> permissions to the owner, read-only to members of the group, and no
> permissions to everybody else. Remember, it's a mask so it will look
> opposite of what you want the permissions to be. The UTF8 option I had to
> use to get some of the characters in the filenames on the partition to
> display correctly.
>
Thank you I am going to give it a look, but from what I can see that looks
like my problem.
Thanks for the pointer there.
-- Chuck Hast To paraphrase my flight instructor; "the only dumb question is the one you DID NOT ask resulting in my going out and having to identify your bits and pieces in the midst of torn and twisted metal."----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:20:48 EDT