Re: [Samba] Samba setting read only on document on share

2010-06-01 Thread tms3

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-x


SNIP


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, t...@tms3.com  wrote:



From: t...@tms3.com 
Subject: Re: [Samba]  Samba setting read only on document on share
To: "sub_woofer" 
Cc: samba@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 




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

















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


Re: [Samba] Samba setting read only on document on share

2010-05-31 Thread tms3



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 




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


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


[Samba] Samba setting read only on document on share

2010-05-31 Thread sub_woofer

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.

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