[Techtalk] samba mounting by user solved

Chantal Rosmuller chantal at antenna.nl
Wed Dec 10 10:01:29 EST 2003


Thanks everyone
I changed the permissions for /usr/bin/smbmnt
and now it works, and it only works for this one particular user because
that user owns the mountdirectory.
Exactly what I wanted.

Op di 09-12-2003, om 22:23 schreef wendy:
> On Tue, 2003-12-09 at 23:52, Chantal Rosmuller wrote:
> > Hi, I want to mount a samba share as a normal user,
> > I added the following to /etc/fstab
> > 
> > //sambaserver/homedir        /mnt/sambaserver        smbfs  
> > noauto,rw,user,username=bla,password=bla,uid=500,gid=500,umask=775    0
> > 0
> > 
> > when I want to mount as a normal user I get: 
> > smbmnt must be installed suid root for direct user mounts (500,500)
> > smbmnt failed: 1
> > 
> > I thougth adding the word user in the /etc/fstab options would be
> > enough?
> >  
> > Does anyone know what I forgot?
> > 
> 
> It could be the permissions on your smbmnt, sumbumount commands.
> 
> See for the following post:
> 
> http://www.linuxquestions.org/questions/archive/31/2003/08/4/86815
> 
> http://www.linuxquestions.org/questions/archive/3/2003/03/2/47914
> 
> 
> Wendy
> 
> > _______________________________________________
> > Techtalk mailing list
> > Techtalk at linuxchix.org
> > http://mailman.linuxchix.org/mailman/listinfo/techtalk
> 
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
> 



More information about the Techtalk mailing list