Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-06-2005, 01:50 PM   #1
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Rep: Reputation: 15
Unhappy Samba - permission problem on multiple user share

Hi everyone,

I have a secured share setup as followed...

security = share
comment = Private Share
path = /home/office-data/private
valid users = nomer
public = no
writable = yes
printable = no you can see the two users office-user and nomer have access to the share.

On the Linux box (CentOS 4) I have set “/home/office-data/private” to have full access to everyone (chmod 777).

The problem is that if one of the user’s creates a new file in the “private” folder the other user can delete it but not edit the file. Now, if one of the users creates a sub folder in the private folder with files, the other user cannot delete or edit them files. All files when created by either user have the permission set to 0744/-rwxr--r--.

How can I get this so that when either of the two users creates a file that file or folder has 777 as default permissions? I have had a good look around and could only find one other person who has had this problem - but no answer was provided.

I appreciate anyone who could help me.

Old 08-06-2005, 05:30 PM   #2
LQ Newbie
Registered: Jul 2005
Location: Los Angeles, CA
Posts: 18

Rep: Reputation: 0
I believe you can fix that by adding this to your conf file.

create mask = 0775
directory mask = 0775

This should set permissions for anyone in the group to RWX.
This way by default the permissions will be 0775 or what ever you want to set it to.


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 get RW permission on a mounted samba share darkangel12613 Linux - Software 6 08-31-2006 07:04 AM
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Samba share permission issue cbekannan Linux - Security 4 03-11-2005 03:52 AM
Samba Share Write permission Issues Colossus610 Linux - Software 4 08-12-2004 05:20 PM
XP user can't access samba share atp777 Linux - Software 0 03-30-2004 05:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 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