John R. Sowden a écrit :
I am having a poblem accessing partitions. I use dosemu to access three fat32 partitions: dosc, dosd, and dose. They point to /media/dosc, ... My fstab follows:
/dev/hda3 / reiserfs acl,user_xattr 1 1 /dev/hda5 /home reiserfs acl,user_xattr 1 2 /dev/hda1 /media/dosc vfat auto,rw,users,exec 0 0 /dev/hda8 /media/dose vfat auto,rw,users,exec 0 0 /dev/hda9 /media/extra reiserfs user,acl,user_xattr 1 2 /dev/hda2 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid, nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid ,nodev,nosuid,sync 0 0
When I created the partitions, the mount points for the dos partitions had a user or root and a group of root, as indicated below. I changed these to john users, but it seems that it has changed back, on its own. I am now unable to write to these partitions.
What are the two bottom entries of the /media for? What does user_xattr mean and why is it needed? Why is acl needed?
I read about these in the Suse doc, and the Yast partition edit screen, but they do not say whay they are used.
drwxr-xr-x 6 root root 4096 1969-12-31 16:00 dosc drwxr-xr-x 2 root root 4096 1969-12-31 16:00 dosd drwxr-xr-x 9 root root 4096 1969-12-31 16:00 dose drwxr-xr-x 6 john users 720 2005-06-23 00:20 dosx drwxr-xr-x 2 root root 48 2005-06-16 00:02 dvdrecorder drwxr-xr-x 4 root root 80 2005-06-16 00:02 extra drwxrwxrwx 1 root root 0 2005-06-26 21:10 floppy drwxr-xr-x 2 root root 48 2005-06-16 13:07 MAXTOR__40G drwxr-xr-x 4 root root 80 2005-06-16 00:02 secure drwxr-xr-x 3 john users 184 2005-06-16 15:19 securex drwxr-xr-x 2 root root 48 2005-06-18 17:15 SU930_001 drwxr-xr-x 2 root root 48 2005-06-19 16:52 SU930_001_1
Thoughts? John
Hello, man fstab and you'll see that if you add : umask=000 as an option, you'll be able to write to your partitions. /dev/hda1 /media/dosc vfat auto,rw,users,exec,umask=000 0 0 /dev/hda8 /media/dose vfat auto,rw,users,exec,umask=000 0 0 Michel.