LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2002, 12:35 PM   #1
badsvt351
LQ Newbie
 
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Rep: Reputation: 0
LinNeighborhood Troubles


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?

Thanks for any help
-Keith
 
Old 02-01-2002, 06:25 PM   #2
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
This will fix it.

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.
 
Old 02-02-2002, 01:56 AM   #3
badsvt351
LQ Newbie
 
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0
LinNeighborhood

Glock19

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.

Anywayz thanks again i'll let ya know.

-Keith
 
Old 02-04-2002, 04:27 PM   #4
badsvt351
LQ Newbie
 
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0
Fix one prob, get another

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.
 
Old 02-04-2002, 04:31 PM   #5
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
Check the directory that you are trying to mount.

You can try a:

chmod -R 777 /server

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.
 
Old 02-05-2002, 01:56 PM   #6
badsvt351
LQ Newbie
 
Registered: Jan 2002
Location: phx,az
Distribution: RedHat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs up Figured it out. Still have a question

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.

Thansk for you help.
-Keith
 
Old 02-05-2002, 03:34 PM   #7
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
If you want /server/share to be the directory that you mount on, just do like I said:

chmod -R 777 /server/share

Now any user can make the mount on the /server/share directory. (Assuming that you did a chmod 4777 on the smbmount and smbumount files).

Last edited by glock19; 02-05-2002 at 03:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LinNeighborhood ckone Linux - Software 1 12-15-2010 04:09 AM
LinNeighborhood help Exio Linux - Networking 8 05-14-2004 04:57 AM
linneighborhood error ludeKing Linux - Networking 2 10-13-2003 01:08 AM
Linneighborhood 24giovanni Linux - Networking 1 02-04-2003 09:41 PM
LinNeighborhood Randall Linux - Networking 12 02-04-2002 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration