LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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


Hi

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

Yanik
 
Old 01-26-2006, 04:21 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

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


Cheers,
Tink
 
Old 01-27-2006, 07:10 AM   #3
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

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

Thanks
 
  


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


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


All times are GMT -5. The time now is 02:59 PM.

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