Date: Thu, 21 Nov 2002 16:18:03 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: freebsd-fs@freebsd.org Subject: Should mkdir() inherit setgid? Message-ID: <20021121221802.GE86807@dan.emsphone.com>
next in thread | raw e-mail | index | archive | help
I've got a bunch of systems NFS mounting some FreeBSD servers, and to manage write access to directories, I chgrp the directory and set the setgid bit to ensure that files created from Solaris, Tru64, and Linux boxes get the correct group ownership. This works great, except when the users create subdirectories. The directory itself gets the right group id, but does not inherit the setgid bit so any files created in the subdir have the wrong group permissions. Should we make newly-created directories inherit the setgid bit from their parent? Since FreeBSD doesn't use setgid on directories anyway, it shouldn't cause any harm. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121221802.GE86807>