LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2005, 06:04 PM   #1
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Rep: Reputation: 30
set permanent read-write permission on shares


have been googling this for quit a while but can't find a suitable answer, so i need some help from you guys!

i have set up a samba file server to a dozen windows clients.
added users to my server, added the smbpasswd and voila! everything working properly

except that all the read-write permissions were set to root, cause i copied everything from the old server, not a problem and easily solved with "chmod -R 770 /home" and all files are read-write for all users.

but then....everytime that "user A" creates a new file, it is read only to "user B"
this is where i get stuck cause i need all the files and shares to be read-write for all users.

have already tried:
umask 770 /home
chmod -R 1770 /home
to my samba.conf i added:
create mask = 0770
write list = @group

it might be that i;m overlooking something simple and getting slightly tired here cause i need to have this done before sunrise.

so if anybody could point me in the "write" direction !!!!

much appreciated!!
 
Old 10-30-2005, 08:54 PM   #2
Randall Slack
Member
 
Registered: Feb 2005
Location: Rotterdam, The Netherlands
Distribution: Debian - Ubuntu
Posts: 219

Original Poster
Rep: Reputation: 30
gladly enough i can answer my own question here!!!!!!!

pretty sure i already tried this, but maybe forgot to restart samba???????

added the following two lines in smb.conf

create mask = 0770
force group = groupname


very simple afterall!!
 
  


Reply



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
share read and write permission to users suguname Mandriva 3 01-18-2005 12:53 AM
Read-Write Access for Network Shares HKDude Linux - Newbie 2 08-06-2004 06:17 PM
Read and Write permission jing Linux - Newbie 3 07-13-2004 10:33 PM
Cannot set write permission naveedbs Linux - Newbie 2 09-13-2003 10:54 AM
Read/write permission skopje909 Linux - General 4 11-08-2001 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration