You are not logged in.

#1 2006-05-13 17:54:23

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Smb4k error when trying to mount folders locally

The error message I get is:

smbmnt must be installed suid root for direct user mounts (1000,1000)

smbmnt failed: 1

When I click on a folder within a mate's share on our LAN, it gives me that.. I can mount things fine through CLI.

Any ideas?


.oO Komodo Dave Oo.

Offline

#2 2006-05-13 23:54:15

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Smb4k error when trying to mount folders locally

Just as it says; you need to set suid root on smbmnt to allow direct user mounts; ie. mounts to anywhere not specified in /etc/fstab.

To do so, run (as root)

chmod u+s `which smbmnt`

- note, however, that (afaik - I may be mistaken here) this causes smbmnt to run with root privelages no matter which user you run it as, so be careful with it.

Offline

#3 2006-05-14 00:39:51

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Smb4k error when trying to mount folders locally

Legend, cheers cerebral wink

The man page isn't particularly clear about the 's' part, so I wasn't sure...


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB