LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 03-12-2012, 10:25 PM   #1
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Rep: Reputation: Disabled
samba insuffecent permissions issue


I have setup a smb share but when I map it from my windows computer I get a "you do not have permissions to access" error I did a "chmod 777 /share" but I still get the issue (restart SMB's service also). From what I can tell SMB doesn't have any users/groups to give rights to.

I did a smbclinet -L gorecomp - U dhimes and put in a password
does this need to be diffrent from my login name?

Any ideas?

[bob]
comment = a share
path = /share
browseable = yes
guest ok = yes
writable = yes
public = yes

[root@gorecomp samba]# ll /

drwxrwxrwx. 2 dhimes dhimes 4096 Mar 7 01:43 share
 
Old 03-13-2012, 05:43 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,188
Blog Entries: 4

Rep: Reputation: 219Reputation: 219Reputation: 219
add valid users for your samba share and assign them smb password


Code:
[bob]
comment = a share
path = /share
valid users = dhimes
browseable = yes
guest ok = yes
writable = yes
public = yes
Code:
#smbpasswd -a dhimes
 
Old 03-13-2012, 06:58 PM   #3
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
no luck :-( still getting permission denied after the drive is mounted

I mount with (windows) gorecomp is the name of the linux box and the workgroup setup in the smb.conf file
Code:
C:\Users\dhimes>net use w: \\10.66.60.26\bob /user:gorecomp\dhimes
The password or user name is invalid for \\10.66.60.26\bob.

Enter the password for 'gorecomp\dhimes' to connect to '10.66.60.26':
The command completed successfully.
I also tried putting in the wrong password and it failed to mount
 
Old 03-13-2012, 07:41 PM   #4
schrodingore
LQ Newbie
 
Registered: Feb 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Found the issue
SElinux was killing it.

Turned it off and it's happy

not I just need to figure out how to permit it though so I can turn SElinux back on without breaking stuff
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA Permissions issue sourabhmaggo Linux - Newbie 8 08-20-2011 12:13 AM
permissions issue with Samba and CentOS 5.2 hotrock3 Linux - Networking 4 01-10-2009 08:59 PM
Samba Permissions Issue... I'm So Close, Please Help! balzack Debian 11 02-21-2006 08:53 AM
Another samba permissions issue... but at least I searched! gauge73 Linux - Networking 11 08-05-2005 06:32 PM
Samba shares permissions issue jamespetts Linux - Software 19 04-19-2003 02:51 AM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration