Hello, This matter seems to be asked every now and then, but I couldn't find if there is a solution today: I had a need (due to compatibily reasons with old Netware server) provide a way to get access rights and _group_ownership_ for a file / directory / whole directory tree, based on the group ownership of the parent directory where the object is *moved* to. By default, the group ownership doesn't change during move to another directory, it does happen if the object is copied. Same problem which is described here: http://tinyurl.com/cpqf5 http://groups.google.com/group/linux.samba/browse_frm/thread/42f455b30df62243 Is there any way to overcome this? Kind of "forced group inherit = yes" setting? Regards, Timo
if you want to inherit groups you should start using sgid bit on directories greez Timo Neuvonen wrote:> Hello, > > This matter seems to be asked every now and then, but I couldn't find if > there is a solution today: > > I had a need (due to compatibily reasons with old Netware server) provide a > way to get access rights and _group_ownership_ for a file / directory / > whole directory tree, based on the group ownership of the parent directory > where the object is *moved* to. > > By default, the group ownership doesn't change during move to another > directory, it does happen if the object is copied. Same problem which is > described here: > http://tinyurl.com/cpqf5 > http://groups.google.com/group/linux.samba/browse_frm/thread/42f455b30df62243 > > Is there any way to overcome this? Kind of "forced group inherit = yes" > setting? > > > Regards, > Timo >