SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
This is not a command, it's a configuration to be made in /etc/fstab or /etc/samba/smbfstab. In principle it works like the standard lines in fstab: you specify the device to be mounted, which is a //server/share in this case, then you specify the mountpoint and filesystem (smbfs or cifs). The option 'users' makes the mountcommand available for all users (at least this is how it works for standard devices). Have a look in /etc/samba/smbfs for an example.
If I want to mount a share, I get a message like this:
smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1
What does that mean?
Answer:
It means, that you do not have the right permissions to mount SMB shares. There are two things you can do:
1. Set the SUID root bit for smbmnt. Therefore you have to find out, where the binary is located. Try
$ ls -la `which smbmnt`
in the shell. If this is a symlink, follow it to find the binary (e. g. under SuSE 8.x you get /usr/bin/smbmnt as result, but the binary is lying under /usr/lib/samba/classic/smbmnt). Change into the directory, where smbmnt resides and do
$ chmod +s smbmnt
Now the mounting should work. NOTE: Do not set the SUID root bit for smbmount!
2. Smb4K 0.4.0 and later provide the ability to execute mount and umount SUID root using the program super. To enable this feature you have to go to the configuration dialog and enable the checkbox "Use super user privileges to mount and unmount shares." in the section Shares.
I tried the last one
"Smb4K 0.4.0 and later provide the ability to execute mount and umount SUID root using the program super. To enable this feature you have to go to the configuration dialog and enable the checkbox "Use super user privileges to mount and unmount shares." in the section Shares."
and the error message doesnt appear anymore
but yet another more strange thing happens !!!
when i click on any folder shared from other pc's, that folder appear in the mounted shares window then dissapears, as if it flashes
so why does this happen ?? it doesnt happen when i am logged in as root !!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.