[SuSE Linux] mount as user
When I add this to my fstab /dev/hda1 /mnt/win98 vfat noauto,user 0 0 and then try to mount as a user it tells me can't create lock file /etc/mtab~: Permission denied (use -n to override) Okay I use -n to override and it tells me mount: must be super user to use mount -- From: Frank Hale Email: halef@bellatlantic.net - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Frank Hale wrote:
When I add this to my fstab
/dev/hda1 /mnt/win98 vfat noauto,user 0 0
and then try to mount as a user it tells me
can't create lock file /etc/mtab~: Permission denied (use -n to override)
Okay I use -n to override and it tells me
mount: must be super user to use mount
It is a lttle tricky to mount a vfat for users with read-write. All mounts must be done by root. The ones in fstab are automatically mounted bt root at boot time. Also make sure that the directory /mnt/win98 exists before you try to mount to it. As root: mount -t vfat -o umask=0 /dev/hda1 /C that will allow your users to have read-write access. I don't have a fstab entry for it, for security reasons. But you should be able to experiment with it in fstab, until you get it to work. As a last resort, enter the above mount command in your boot.local file. I would guess at a fstab entry to be: /dev/hda1 /mnt vfat rw,noauto,user,umask=0 - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
zentara wrote:
/dev/hda1 /mnt vfat rw,noauto,user,umask=0
You were right I needed to add the umask=0 Everything is working fine now!!! Thanx for your help -- From: Frank Hale Email: halef@bellatlantic.net Homepage: <A HREF="http://members.xoom.com/frankhale/main.html"><A HREF="http://members.xoom.com/frankhale/main.html</A">http://members.xoom.com/frankhale/main.html</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (2)
-
halef@bellatlantic.net
-
zentara@mindspring.com