Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.