Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-26-2006, 04:48 PM   #1
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
Permissions problem...samba...umask?


We have several WinXP boxes and a CentOS file server running samba.

user1 is in group staff and management
user2 is in group staff and management
user3 to user10 are in group staff only

When user1 upload a Word document to the server, the permissions are rwxr--r-- , which means each time user2 wants to modify a file uploaded by user1, I get a call. I'd like the permissions to be rwxrwx---.

I changed the umask in /etc/bashrc, which works great if I create a file from the CLI, but if I upload a file, permissions are still 744? Do I need to reboot the server?

Please help

Thank you

Old 01-26-2006, 05:21 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Just add a
create mask = 0775
to that shares definition and restart samba.

Old 01-27-2006, 08:10 AM   #3
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Original Poster
Rep: Reputation: 30
darn, I was looking so much deeper!



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Permissions with umask NullDevice23 Linux - Security 1 11-18-2005 08:27 PM
fstab, umask and users permissions foucault Linux - Security 3 11-03-2005 02:13 AM
Umask and Linux Default Permissions Sandoomaphone Linux - Security 9 08-23-2004 05:48 PM
Where to set default file permissions (umask)? tredegar Linux - Newbie 14 01-27-2004 06:10 PM
umask and default file create permissions Rgamboa Linux - Newbie 5 05-20-2003 12:03 PM

All times are GMT -5. The time now is 11:17 AM.

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