Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

smbmount error msg.

0 views
Skip to first unread message

tcronj

unread,
Feb 15, 2004, 8:51:53 AM2/15/04
to
my fstab entry looks like this

//host/share /mnt/share smbfs rw,username=user1,password=pass1,noauto,user

when trying to mount from shell using "mount /mnt/share" I get this error.

> smbmnt must be installed suid root for direct user mounts (500,500)
> smbmnt failed: 1

What can I do to mount the drive as normal user ?

TIA
T

Lenard

unread,
Feb 15, 2004, 9:55:33 AM2/15/04
to

As root;

chmod +s /usr/bin/smbmnt
chmod +s /usr/bin/smbumount


--
Hi! I'm a .sig virus! Copy me to your .sig!

tcronj

unread,
Feb 15, 2004, 10:15:35 AM2/15/04
to

Thanks Lenard,

I now get

cannot mount on /mnt/share: Operation not permitted
smbmnt failed: 1

Steve Schreiber

unread,
Feb 15, 2004, 10:12:47 AM2/15/04
to
Hey,

The user that is trying to mount must have access to the mount point
(in your case, /mnt/share) which now is probably owned by root, with
only rx for everyone else. Givint the user w access to the mount point
should do it for you.

S.

--


--> GNU/Linux is user friendly... it's just picky about its friends.

tcronj

unread,
Feb 15, 2004, 12:00:21 PM2/15/04
to
Thanks, I'll try it out

T

0 new messages