I am trying to create a master share that contains all the other shares. I created a group that needs read+write permission to all the other shares. However, rather than adding this group in each share configuration, I was wondering if there is a way to overwrite the permission. I tried this but gave read-only access. Also in the linux level, I don't have this master group as the owner. Any idea? [master share] comment = All of WWW read/write access path = /www valid users = "@DOMAIN\My master group" write list = "@DOMAIN\My master group" force group = "My Master group" read only = No create mask = 0775 directory mask = 0775
sharif islam wrote:> <snip> > I tried this but gave read-only access. Also in the linux level, I > don't have this master group as the owner. Any idea? >If the users don't have write access at the unix level, they won't get write access through samba. You can use ACLs to grant them write access.> [master share] > comment = All of WWW read/write access > path = /www > valid users = "@DOMAIN\My master group" > write list = "@DOMAIN\My master group" > force group = "My Master group" >Or you can use the above "force group" option to access the files as a group that does have access.> read only = No > create mask = 0775 > directory mask = 0775 >*Michael Heydon - IT Administratorr * michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>
On Tue, May 13, 2008 at 6:52 PM, Michael Heydon <michaelh@jaswin.com.au> wrote: [....]>> [master share] >> comment = All of WWW read/write access >> path = /www >> valid users = "@DOMAIN\My master group" >> write list = "@DOMAIN\My master group" >> force group = "My Master group" >> > > Or you can use the above "force group" option to access the files as a group > that does have access.Well, the problem is, each folder (such as /www/share1, /www/share2) already has a group associated with it. If I change the linux permission in the /www/ level, that would create problems for the rest of the groups. --s
sharif islam wrote:> On Tue, May 13, 2008 at 6:52 PM, Michael Heydon <michaelh@jaswin.com.au> wrote: > [....] > >>> <snip> >> Or you can use the above "force group" option to access the files as a group >> that does have access. >> > > > Well, the problem is, each folder (such as /www/share1, /www/share2) > already has a group associated with it. If I change the linux > permission in the /www/ level, that would create problems for the rest > of the groups. > > --s > >I guess that brings you back to "You can use ACLs". *Michael Heydon - IT Administratorr * michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>