AFP548

Default Owner New File

Is there any way in Leopard to set the owner of a file created in a directory to be the owner of the directory. In other unixes, setting the uid bit on a directory will accomplish this. chmod u+s. This does not appear to work in Leopard. Leopard seems to ignore this. Looking at the access control lists I don't see a way to do this. I though that there might be an inheritance setting that does it but I can't figure it out. Anyone know if this is possible? In other unixes that support acls the setfacl command has a default parameter that allows this http://www.udel.edu/topics/os/unix/general/groupsharing.html but Leopard doesn't support setfacl. It seems that in leopard the owner of a new file is always the owner of the application or shell that created the file. This means that for shared folders only the group can get a default setting.
Exit mobile version