LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba - access denied on windows (https://www.linuxquestions.org/questions/linux-software-2/samba-access-denied-on-windows-367338/)

suco 09-26-2005 08:47 PM

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

debianmike 09-26-2005 09:07 PM

did you create a samba user and set a samba password?

suco 09-26-2005 09:25 PM

yes. I can login and see the share but when I try to write it says access denied

debianmike 09-26-2005 09:42 PM

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.

suco 09-26-2005 09:57 PM

I removed it, still the same...

debianmike 09-26-2005 10:13 PM

i have no other idea's but to ask if you restarted samba after the change...

suco 09-26-2005 10:30 PM

yes i did..


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