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.
I have LinNeighborhood installed and working. I can see our corperate network and can mount network drives loged in as Root.
The problem im having is when I login to KDE with a user account I created that is a member of all the groups that the ROOT accout is a member of. I cannot mount any drives I get an error message stating Permission Denied. I read the FAQ on the site that I downloaded LinNeighborhood and tried giving all RWX permission to smbmnt, and smbmount per there instruction but this still does not work for me. When loged in as root it all works fine, so it seems to be a permissions issue?
First, su to root. Next, find the file 'smbmount'. Like this:
find / -name 'smbmount' -print
On my system, it's located at /usr/bin/smbmount
Now type:
chmod 4777 /path/to/smbmount
For me it would look like this:
chmod 4777 /usr/bin/smbmount
Now repeat this process for the file 'smbumount'.
The '4' in the 'chmod 4777' command makes it so that the program is always run with root permissions, no matter who you are logged in as. So if you are on a multi-user system, be aware that any old user on the system can now issue that command without restriction.
Thanks i'll give it a go monday at work. Man there is SO much I need to learn about permissions in Linux. You read one write up on the subject and you think to know something then someone else comes along and tells you another command that the write up I just read didnt even mention. I guess if all the write ups had every command and what they did they would be so large that no one would want to read them.
Changed the rights on smbmount and smbmnt useing the chmod 4777 the rights now look like:
-rwsrwxrwx 1 root root 409532 Aug 13 12:54 smbmnt
-rwsrwxrwx 1 root root 418876 Aug 13 12:54 smbmount
The permission denied error message is gone. Now im getting another error message stating:
"Cannot mount on /server/share: Operation not permitted smbmnt failed: 1. This is a different error message then before but still seems like there is a permissions issue someplace.
This ONLY happens when i'm loged on as a user. When im on at root I have no problems.
That gives read, write, and execute permissions to ALL users, for everything within the /server directory. The "-R" stands for recursive and means that the "777" permissions get applied to all file and directories underneath the /server directory.
The problem I figured out is when I would mount the drive I was typing for the mount point "/servername/sharename" and the user I am logged on as does not have rights to create a directory on the root /. So I tried it like this "/home/username/servername/sharename" and it works fine, but its like writing a book to cd to that mounted share.
Is there a safe way I could give my user account access to mkdir on the root /?
My user account is a member of the root group but I still cant mkdir on the root, and I have limited acccess to modify files in other directorys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.