Partition and Directory Permissions
I am having trouble with permissions on a vfat partition I created when installing SuSE v9.2. I thought I had a handle on permission type stuff but I must be missing something really simple here. I setup a small vfat partition when installing, with nothing on it (ie. linux only box) with a view to using it as a share for windows boxes on my home network, running wine and any legacy windows apps on; generally anything I did that still related to Windows stuff I would do on /win. I am happy for it to automount. I have 'man' fstab, mount, etc but I am still unsure what to change. Because this is a 'dangerous' area to experiment in, I thought I had best ask first?! My problem is I cannot create any directories or files on /win as user paul, and I can't work out whether the problem is in the /etc/fstab entry or the owner/group permissions only. Basically I want user "paul" to be able to operate /win at will, without resorting to superuser. here is the relevant line from /etc/fstab: /dev/hda9 /win vfat defaults 0 0 and here is the result from 'll /': drwxr-xr-x 2 root root 4096 2005-04-05 17:57 win I think the problem is in 'defaults' in etc/fstab but I am unsure what to change it to? Any guidance would be gratefully accepted. Thanks, Paul.
On Tue, 2005-04-05 at 04:14, Paul Trevethan wrote:
I am having trouble with permissions on a vfat partition I created when installing SuSE v9.2. I thought I had a handle on permission type stuff but I must be missing something really simple here.
I setup a small vfat partition when installing, with nothing on it (ie. linux only box) with a view to using it as a share for windows boxes on my home network, running wine and any legacy windows apps on; generally anything I did that still related to Windows stuff I would do on /win. I am happy for it to automount. I have 'man' fstab, mount, etc but I am still unsure what to change. Because this is a 'dangerous' area to experiment in, I thought I had best ask first?!
My problem is I cannot create any directories or files on /win as user paul, and I can't work out whether the problem is in the /etc/fstab entry or the owner/group permissions only. Basically I want user "paul" to be able to operate /win at will, without resorting to superuser.
here is the relevant line from /etc/fstab:
/dev/hda9 /win vfat defaults 0 0
My fstab looks like this: /dev/hda1 /windows/C vfat auto,users,rw,umask=0 0 0 0 0
and here is the result from 'll /':
drwxr-xr-x 2 root root 4096 2005-04-05 17:57 win
I think the problem is in 'defaults' in etc/fstab but I am unsure what to change it to?
Any guidance would be gratefully accepted. Thanks, Paul.
On Tue, 2005-04-05 at 04:14, Paul Trevethan wrote:
I am having trouble with permissions on a vfat partition I created when installing SuSE v9.2. I thought I had a handle on permission type stuff but I must be missing something really simple here.
I setup a small vfat partition when installing, with nothing on it (ie. linux only box) with a view to using it as a share for windows boxes on my home network, running wine and any legacy windows apps on; generally anything I did that still related to Windows stuff I would do on /win. I am happy for it to automount. I have 'man' fstab, mount, etc but I am still unsure what to change. Because this is a 'dangerous' area to experiment in, I thought I had best ask first?!
This is not really an answer to your permission problem, but a comment on the purpose of that vfat partition. My lan has a SuSe 9.2 server, another linux box and 3 winxp machines. The server only has a Reiserfs
Mike McMullin wrote: partition, and a /home/public directory, on which all boxes, including the windows machines, can write and execute programs. You don't need a vfat partition for that, as far as I can tell. I guess samba takes care of that. fx
and here is the result from 'll /':
drwxr-xr-x 2 root root 4096 2005-04-05 17:57 win
I think the problem is in 'defaults' in etc/fstab but I am unsure what to change it to?
Any guidance would be gratefully accepted. Thanks, Paul.
Login in as root and from a command line type chown paul /win That should do the trick. Eddie
Paul Trevethan wrote:
I am having trouble with permissions on a vfat partition I created when installing SuSE v9.2. I thought I had a handle on permission type stuff but I must be missing something really simple here.
You need user or users in options. You'll also have to set the umask for it, as FAT partitions can't handle unix style permissions.
participants (5)
-
eddie.howson@dsl.pipex.com
-
FX Fraipont
-
James Knott
-
Mike McMullin
-
Paul Trevethan