Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-21-2007, 02:25 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 20

Rep: Reputation: 0
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.
Old 09-21-2007, 04:59 PM   #2
LQ Newbie
Registered: Dec 2006
Posts: 20

Original Poster
Rep: Reputation: 0
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?


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
How to delete files in many directories? pandronic Linux - Newbie 3 10-23-2006 09:20 AM
Samba: "homes" share, cannot create directories, can create files Herg Linux - Software 1 09-14-2006 08:48 AM
can not delete NON-EMPTY directories through samba share Sandor Linux - Software 2 02-16-2006 03:06 AM
log what files users create, delete etc. Goma_2 Linux - General 3 09-26-2003 06:12 PM
Cant delete directories/files skopje909 Linux - General 2 11-07-2001 05:59 PM > Forums > Linux Forums > Linux - Server

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

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