Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-27-2004, 05:54 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
Samba Share SMB.CONF Access Denied

I have a server setup with a raid array mounted to /mnt/array.

I have the array shared as N but I can't seem to write to it. I've tried several different settings in SMB.conf and had no luck.

Mount gives this: /dev/rd/c0d1p1 on /mnt/array type ext3 (rw,noexec,nosuid,nodev)

My smb.conf is:

security = share
path = /mnt/array
obey pam restrictions = no
writable = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
encrypt passwords = yes
null passwords = yes
workgroup = STAR
syslog = 0
socket options = TCP_NODELAY
sync always = yes
log file = /var/log/samba/log.%m
public = yes
invalid users =
locking = no
max log size = 1000

comment = Home Directories
browseable = yes

path = /mnt/array
force directory mode = 777
create mode = 777
writeable = Yes
force create mode = 777
directory mode = 777
browsable = yes
guest ok = Yes
delete readonly = yes
wide links = no
public = yes

This is a server at a computer store and the file share contains all the software, ISOs, etc that our techs use. It needs to not be password protected as we access the share from dozens of computers a day and need everything to be as fast and simple as possible. I only plan to make it writeable to update will otherwise be read only to avoid viruses and unitentional modification. Neways...Any ideas would be greatly appreciated.

Old 09-28-2004, 03:14 PM   #2
Registered: Aug 2003
Location: Charlotte, North Carolina
Distribution: Red Hat (and look-alike), SUSE (when drunk), Slackware (when mad)
Posts: 148

Rep: Reputation: 16
With a sneak view, your smb.conf file looks fine. Did you try to
chmod -R +0777 /mnt/array
Remember that is the samba deamon that handles rights, not linux's.

Let me know how it goes!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Very stupid, but here we go: pam_mount + samba share = access denied? Thakowbbery Linux - Software 8 05-23-2005 10:43 AM
guest access to a share in smb.conf ?? ludeKing Linux - Networking 1 10-27-2003 01:36 PM
Samba Printer Share on Win2K Access Denied, No Connection available MobbyDick Linux - Software 38 07-17-2003 10:12 AM
Samba start up questions...Setting up share files and smb.conf file Xeroku Linux - Newbie 1 04-17-2003 10:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 AM.

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