Mounting SMB shares in /etc/fstab

Ow Mun Heng ow.mun.heng at wdc.com
Wed Nov 19 02:44:52 UTC 2003


> -----Original Message-----
> From: Thomas [mailto:J.a.d.E at gmx.net]
> Sent: Wednesday, November 19, 2003 10:22 AM
> To: fedora-list at redhat.com
>
> I was lying, could be that you lack the rw option, here is my line:
> //marsman/jade          /mnt/marsman            smbfs   
> user,rw,iocharset=utf8,uid=500,gid=500,fmask=775,dmask=775,pas
sword=thepassword,user=jade 
> 0 0

Trying 

//xxxxx/Stuff     /tmp/ttt    smbfs   username=xxx,password=xxxx,user 0 0

Ended up

7318: session request to 129.253.108.156 failed (Called name not present)
7318: session request to 129 failed (Called name not present)
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1


That's when I'm mounting it as a normal user.

Trying it with sudo mount /tmp/ttt works.. but then only read permission for
users.

As the error says.. "smbmnt must be installed suid root for direct user
mounts (500,500)"

changing -> chmod 4755 /usr/bin/smbmnt works.. BUt will this impact
security???

Then trying to umount it, will tell me that only root is allowed to unmount
it!! Huh??

How to enable users to mount/umount their selected directories??

I seek enlightenment..





More information about the fedora-list mailing list