creating a master share

View: New views
4 Messages — Rating Filter:   Alert me  

creating a master share

by sharif islam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: creating a master share

by Michael Heydon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <mailto:michaelh@...>

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: creating a master share

by sharif islam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, May 13, 2008 at 6:52 PM, Michael Heydon <michaelh@...> 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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: creating a master share

by Michael Heydon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


sharif islam wrote:

> On Tue, May 13, 2008 at 6:52 PM, Michael Heydon <michaelh@...> 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@... <mailto:michaelh@...>


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba