smbmnt
Hey all...
Ran into a little difficulty one of those long lonely nights without net... I currently mount my home directory on my samba server onto my Linux work station using # mount -t smbfs -o username=trevor //192.168.100.1/trevor /mnt/smb_homedir/ I setup my Mozilla's (both 'nux and 'doze) to place mail directory and other settings on that mount. Keeps things common including filters etc. Now i set this up in windows and used in Linux on several occasions, but i've never made changes significant enough to necessitate much writing to the mount. The above command, when run, says that only root can do that. I sat, added it to the /etc/fstab, (//192.168.100.1/trevor /mnt/smb_homedir smbfs noauto,user,rw 0 2). WHen i attempt to mount this now as trevor. I do actually get the password prompt, but i'm greeted with "smbmnt must be installed suid root for direct user mounts (666,666) smbmnt failed: 1" man smbmnt: NAME smbmnt - helper utility for mounting SMB filesystems SYNOPSIS smbmnt {mount-point} [-s <share>] [-r] [-u <uid>] [-g <gid>] [-f <mask>] [-d <mask>] [-o <options>] [-h] DESCRIPTION smbmnt is a helper application used by the smbmount program to do the actual mounting of SMB shares.smbmnt can be installed setuid root if you want normal users to be able to mount their SMB shares. A setuid smbmnt will only allow mounts on directories owned by the user, and that the user has write permission on. The smbmnt program is normally invoked by smbmount(8). It should not be invoked directly by users. smbmount searches the normal PATH for smbmnt. You must ensure that the smbmnt version in your path matches the smbmount used. Thoughts assistance.... |
Try running:
chmod +s /path/to/smbmnt |
Thanks man...
I notice however that the mount command still doesn't work. When i use smbmout it works great, but using the GUI, mount is used an i end up with error sayin only roor can mount said partition. Any light on that matter...? I have no issue using the console though... |
All times are GMT -5. The time now is 05:24 AM. |