[Gllug] ACL solution to samba created unowned files?

John Winters john at sinodun.org.uk
Sun Aug 23 19:14:02 UTC 2009


general_email at technicalbloke.com wrote:
> I think the
> trick was using an ace to make all new files created in that folder
> members of a group and then make my user a member of that group. Does
> that sound right / plausible ? If so, can anyone enlighten me as to the
> syntax / procedure?

If you change the group of the directory to one of your creation, and 
then set the group bit on the directory, all files created within that 
directory will inherit the group ownership (unless Samba does something 
funny).

$ chgrp mygroup mydir
$ chmod 2775 mydir

HTH
John
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list