Samba users cannot create directories / delete files
I have samba 3.0.23 installed on CentOS 5. In the end, I will need to be able to share one folder on the Linux machine with a few Mac OS X clients, each with a unique user/pass. So, for that share, I have the following:
comment = My File Server
path = /fileserver
writeable = yes
write list = user1, @mygroup
printable = no
create mask = 0775
user1 is a valid system user, as mygroup is a valid group on the system. I can ssh into the box with user1. The /fileserver directory has the following permissions:
drwxrwxr-x 3 root mygroup 4096 Sep 21 14:04 fileserver
From a windows XP machine, I can log in successfully and write files without a problem. However, I cannot create directories or delete files.
What am I missing here? Thanks in advance.
Ahh...I should have known. SELinux appears to be causing the problem Turning it off seems to make the problems all disappear. Interesting though, because I checked earlier with audit2allow to see if there was something I needed to add to a policy to allow this to work and nothing was showing up in the logs at all.
Anyone know what needs to be done to allow samba shares to work properly and have selinux enabled?
|All times are GMT -5. The time now is 01:49 AM.|