LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2005, 01:50 PM   #1
timmywo
Member
 
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...

Code:
security = share
[Private]
comment = Private Share
path = /home/office-data/private
valid users = nomer
public = no
writable = yes
printable = no
...as 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.

Thanks,
Tim
 
Old 08-06-2005, 05:30 PM   #2
DirtySanchez
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration