Aniruddha
2010-May-05 22:05 UTC
[Samba] What is the preferred way to inherit permission on a pdc?
When you follow chapter 2 of SBE ( http://www.samba.org/samba/docs/man/Samba3-ByExample/small.html ) you get a working PDC. However there is one problem: if you create a document in a shared folder only the owner can edit this document. Others in the same group can't edit the document and get a 'permission denied' error. Permission are arranged with groups, new files get the permission of the creator (which is is proper Linux behavior). For now I solved this problem by adding 'inherit permissions = yes' and 'force group = mygroup' to smb.conf. I do wonder what the correct or preferred way is to handle these permission problems with samba as a pdc? How do you make sure that files create by users in a domain are accessible by every other member in the group? Thanks in advance!
Miguel Medalha
2010-May-05 22:16 UTC
[Samba] What is the preferred way to inherit permission on a pdc?
ACLs?
Luca Olivetti
2010-May-06 08:08 UTC
[Samba] What is the preferred way to inherit permission on a pdc?
En/na Aniruddha ha escrit:> For now I solved this problem by adding 'inherit permissions = yes' > and 'force group = mygroup' to smb.conf.Instead of the latter I use the sticky bit on the group in a folder, I still have to use the "inherit permissions = yes". This way I can have just one share with different write access in different folders. Bye -- Luca Olivetti Wetron Automatizaci?n S.A. http://www.wetron.es/ Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007
Possibly Parallel Threads
- corruption in the locking tdb, samba panics
- Samba 3.3.12/3.4.7/3.5.2 on "ancient" server stops responding/dies
- win 7, samba 3.4.7, error 0x000003e6 with some printers
- Sharing an nfs mounted directory from two different samba servers?
- Problems printing with samba 3.5.2