[Samba] group privileges on newly created files?

Noel Kelly nkelly at citrusnetworks.net
Tue Nov 5 23:50:22 GMT 2002


Use the sticky bit:

chown .omnigroup shareddir

chmod g+s shareddir

this will make everything created in the shareddir have the group
'omnigroup'.

HTH

-----Original Message-----
From: Rob Thomas [mailto:rob at electricmail.com]
Sent: 05 November 2002 22:52
To: samba at lists.samba.org
Subject: [Samba] group privileges on newly created files?


Just curious,

I know you can force a creation mask using "create mode", but is there any
way to enforce under what group ownership a file/directory is created?  My
users belong to several groups, and I want new files created as owned by a
specific group...

Thanks in advance,

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
 



More information about the samba mailing list