Approach to permissions, UNIX usernames, and UNIX groups ..

Michael Szengel michael.szengel at systemonic.de
Mon Dec 6 08:39:06 GMT 1999


JAson wrote to samba at samba.org:
...
> Is there a way to tell SAMBA to assign files being written to the group 
> of the subdirectory the file is being written to?  Is there a better way
> altgother to approach this (I hope there is =).

Although it is quite difficult to emulate the behavior of a Novell
server under a Linux system, the problem above should be solved by
setting the SGID-Bit on the directories (chmod g+s <dirname>). Starting
from then, all ne created files will get the group ownership of the
directory (NOT the rights ! you will have to set them in the nessecary
way seperatly).
This feature is not a feature of Samba, but of the underlying file
system (so you have to do this under Linux on the filesystem itself).
But it will do the job and I have been using it successfuly for a month.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: michael.szengel.vcf
Type: text/x-vcard
Size: 301 bytes
Desc: Card for Michael Szengel
Url : http://lists.samba.org/archive/samba/attachments/19991206/d9387fc7/michael.szengel.vcf


More information about the samba mailing list