LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-27-2004, 06:54 PM   #1
mikeaustn
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:


[global]
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

[homes]
comment = Home Directories
browseable = yes

[n]
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 it...it will otherwise be read only to avoid viruses and unitentional modification. Neways...Any ideas would be greatly appreciated.

Thanks.
 
Old 09-28-2004, 04:14 PM   #2
dtournas
Member
 
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
Code:
chmod -R +0777 /mnt/array
Remember that is the samba deamon that handles rights, not linux's.

Let me know how it goes!
 
  


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



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 08:59 PM
Very stupid, but here we go: pam_mount + samba share = access denied? Thakowbbery Linux - Software 8 05-23-2005 11:43 AM
guest access to a share in smb.conf ?? ludeKing Linux - Networking 1 10-27-2003 02:36 PM
Samba Printer Share on Win2K Access Denied, No Connection available MobbyDick Linux - Software 38 07-17-2003 11:12 AM
Samba start up questions...Setting up share files and smb.conf file Xeroku Linux - Newbie 1 04-17-2003 11:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration