LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-26-2005, 08:47 PM   #1
suco
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Samba - access denied on windows


I recently configured samba for my Fedora Core 4 fileserver. I have a share and when I try to write the share it says that access is denied.

The server is running Fedora Core 4 and my PC is Windows XP Pro SP2.

this is my smb.conf:

#======================= Global Settings =====================================
[global]

workgroup = WORKGROUP
server string = Samba Server
log file = /var/log/samba/log.smbd
max log size = 50


#============================ Share Definitions ==============================
[Shared]
comment = Share
path = /samba/shared
read only = No
writeable = Yes
guest ok = Yes
public = Yes
browseable = Yes
create mask = 0666
directory mask = 0777

#=================directory permissions=========
777

Last edited by suco; 09-26-2005 at 09:02 PM.
 
Old 09-26-2005, 09:07 PM   #2
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
did you create a samba user and set a samba password?
 
Old 09-26-2005, 09:25 PM   #3
suco
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
yes. I can login and see the share but when I try to write it says access denied
 
Old 09-26-2005, 09:42 PM   #4
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
look into your directoy mask....

I think your mask takes the already aplied 777, and masks it to be 000, (777 - 777), thus the name mask.
 
Old 09-26-2005, 09:57 PM   #5
suco
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I removed it, still the same...
 
Old 09-26-2005, 10:13 PM   #6
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
i have no other idea's but to ask if you restarted samba after the change...
 
Old 09-26-2005, 10:30 PM   #7
suco
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Original Poster
Rep: Reputation: 0
yes i did..
 
  


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
Samba - access denied on windows time112852 Linux - Software 11 06-04-2010 10:08 AM
samba/swat access denied bob_man_uk Linux - Software 2 10-19-2005 03:12 AM
Samba - Access denied aikempshall Linux - Networking 22 08-24-2004 06:50 AM
Access denied XP samba shares djtsa Linux - Software 0 10-02-2003 06:26 AM
windows xp and samba access denied eradiate Linux - Networking 4 06-01-2003 09:58 PM

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

All times are GMT -5. The time now is 07:52 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
Open Source Consulting | Domain Registration