Redhat 5.3 mount failed without root
Hi there,
In Redhat 4.x, we can use 'smbmount' to mount another linux samba server with 'user1'.
But now we used redhat 5.3(64bit), there is no smbmount and I can only user mount command via root.
How can I mount a folder via 'user1', not root?
(BTW, I can run '#mount hostname:/sharename /mnt/u1,
but the access right of /mnt/u1 is only for root.)
$ls -la
drwxrwxr-x root:root 4096 May 18 2010 u1
I wish it is "user1:user1"
drwxrwxr-x user1:user1 4096 May 18 2010 u1
I also edit /etc/fstab and add the following in.
hostname:/sharename /mnt/u1 noauto,user1 0 0
mount: only root can mount xxx on xxx.
It still doesn't work.
Pls help.
Thanks.
Phil
Last edited by poweraha; 05-16-2011 at 01:50 AM.
|