Hello all How do you allow someone in a particular group (i.e. the group writers in my example below) other than the creator of a file (the owner) to set a document as being read only? This is the only problem I am facing with my samba shares at the mo which I need to fix, so any help would be greatly appreciated. Hope this makes sense! The relevant samba snippet is below:- [Share] browseable = no writeable = yes path = /home/Share comment = Public Folders valid users = "Server\administrator",@"Server\Writers" public = yes inherit acls = yes When ls -l in the Share dir a files permission may return something like this:- drwxrwx---+ 2 Kris Writers 4096 2010-01-13 18:14 Test If any further information or clarification is needed please let me know! Thank you for any help in adv! SW. -- View this message in context: http://old.nabble.com/Samba-setting-read-only-on-document-on-share-tp28707591p28707591.html Sent from the Samba - General mailing list archive at Nabble.com.
tms3 at tms3.com
2010-May-31 13:43 UTC
[Samba] Samba setting read only on document on share
SNIP> > > When ls -l in the Share dir a files permission may return something > like > this:- > > drwxrwx---+ 2 Kris Writers 4096 2010-01-13 18:14 Test > > If any further information or clarification is needed please let me > know!getfacl <directory in question>> > > > Thank you for any help in adv! > > SW. > > -- > View this message in context: > http://old.nabble.com/Samba-setting-read-only-on-document-on-share-tp28707591p28707591.html > Sent from the Samba - General mailing list archive at Nabble.com. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
tms3 at tms3.com
2010-Jun-01 12:49 UTC
[Samba] Samba setting read only on document on share
SNIP> > group::r-x > group:domain\040users:r-x > group:dnsupdateproxy:r-x > group:Writers:rwx > group:BUILTIN\134administrators:rwx > group:10045:rwx > mask::rwx > other::--- > default:user::rwx > default:group::r-x > default:group:domain\040users:r-xSNIP> > Is it because the first default group that I have highlighted in bold > only has read and execute perms???...Yep, your group perm ACLs are the problem. I usually like to use a Windo$e workstation to set complex file and directory perms. Just log in to a Wind0$e box with Administrator (or "root" mapped user) and use it to set user and group perms on the files and directories on the share. Double check that they set correctly by doing a getfacl from the shell prompt on the *nix box. Cheers,> > Thanks in advance for any help! > > > > --- On Mon, 31/5/10, tms3 at tms3.com <tms3 at tms3.com> wrote: >> >> >> From: tms3 at tms3.com <tms3 at tms3.com> >> Subject: Re: [Samba] Samba setting read only on document on share >> To: "sub_woofer" <tqzelijah at yahoo.co.uk> >> Cc: samba at lists.samba.org >> Date: Monday, 31 May, 2010, 14:43 >> >> >> >> >> SNIP >> >>> >>> >>> When ls -l in the Share dir a files permission may return something >>> like >>> this:- >>> >>> drwxrwx---+ 2 Kris Writers 4096 2010-01-13 18:14 Test >>> >>> If any further information or clarification is needed please let me >>> know! >> >> getfacl <directory in question> >>> >>> >>> >>> Thank you for any help in adv! >>> >>> SW. >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Samba-setting-read-only-on-document-on-share-tp28707591p28707591.html >>> Sent from the Samba - General mailing list archive at Nabble.com. >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions: https://lists.samba.org/mailman/options/samba >>>