On Tue, 2003-07-29 at 02:23, charlie wrote:
> Hoping someone might be able to help me.
> Mandrake 9.1
> Created 2 data partitions previously vfat to ext3 on install
> I was able to mount and write to them as root right from the start, but not as 
> user, then :-
> I have been able to mount them as user, with some trial and error and 
> frustration. But am still unable to write to them as user.
> 
> Below is part of my /etc/fstab file showing the recalcitrant partitions.
> 
> /dev/hda6 /mnt/slack ext3 defaults 0 2
> /dev/hda7 /exp ext3 noauto,users,defaults 0 2
> /dev/hdc8 /new ext3 noauto,users,defaults 0 2
> /dev/hda1 /mnt/winc vfat noauto,user,unhide 0 0
> /dev/hdc1 /mnt/xp vfat noauto,user,unhide 0 0
> /dev/hda9 /mnt/wing vfat noauto,user,unhide 0 0
> /dev/hdc5 /mnt/spare vfat noauto,user,unhide 0 0
> 
> I have tried :- mounting them as the vfat partitions as :-
> 
> /dev/hda7 /mnt/exp ext3 noauto,user,defaults 0 0
> /dev/hdc8 /mnt/new ext3 noauto,user,defaults 0 0
> 
> Also :-
> 
> /dev/hda7 /mnt/exp ext3 umask=0,user,noauto,defaults 0 0
> /dev/hdc8 /mnt/new ext3 umask=0,user,noauto,defaults 0 0
> 
> Also :-
> 
> /dev/hda7 /mnt/exp ext3 defaults 1 2
> /dev/hdc8 /mnt/new ext3 defaults 1 2
> 
> Also :-
> 
> /dev/hda7 /exp ext3 defaults 0 2
> /dev/hdc8 /new ext3 defaults 0 2
> 
> Also :-
> 
> /dev/hda7 /exp ext3 noauto,user,unhide 0 0
> /dev/hdc8 /new ext3 noauto,user,unhide 0 0
> 
> And various derivatives of all the above, and rebooted in between each
> 
> I have used chown to change the owner owner charlie group root
> 
> Made them alone, rwxrwxr-x
> 
> All to no avail.
> 
> The /etc/fstab entry at least allow me to mount the filesystems as user.
> 
> Access is denied to user. anything can be done as root.
> 
> Heeeeelp, I may have missed something obvious.
> I do not plan to create any more ext3 data partitions if I am unable to mount 
> them as user? Maybe this is normal with ext3 partitions? In the past leaving 
> them as FAT32 was so that they could be accessed by both windows and Linux, 
> but on the way to moving to native Linux alone, I wanted to use ext3 data 
> partitions.
> 
> Thanks in advance.
> Charlie.

One question is the mount command setuid root or do you run it under
sudo?  despite the users setting in fstab I've had to do this on my box
to get remote partitions to be mountable as a user.  Haven't yet gotten
it so that a user can unmount them with umount but progress is on the
way.

James

> 
> 
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to