I'd suggest you start by looking at http://source.scl.ameslab.gov/hg/openafs-volowner-chmod?cmd=changeset;node=46c1bff7dcab03443ec9cddfbf40fa3b9f16f28b
(otherwise known as src/afs/afsfileprocs.c, which is the code that seems to check most of the permissions on the server.) On Tue, Jun 13, 2006 at 03:45:27PM -0400, Todd M. Lewis wrote: > How big a deal would it be to make OpenAFS clients honor the g+s bits on > directories? In normal UNIX directories, new files created in a g+s > directory are owned by the same group that owns the directory, but > OpenAFS (like AFS before it) creates files owned by the users current > effective gid. I can see why, given that AFS doesn't really care so much > about UNIX groups. But then why pick the process egid instead of the > directory's group for new files in g+s directories? > > I started looking for the responsible code, but quickly realizing the > haystack was a lot larger than the needle I was looking for (Is this a > totally client-side issue, or does the server get involved?), I though > I'd ask you guys. > > So, this boils down to two questions: > > * Would this be a big change to implement? and > > * If a suitable patch were created, would such a change in behavior even > be considered? > > Rationale: 1. AFS already throws enough quirks at potential adopters. > This is one difference between traditional UNIX semantics and AFS that > seems, to me at least, unnecessary. 2. I have at least one project that > tends to migrate among file systems, sometimes including AFS. The > "from-AFS" transition always causes a hiccup because new files have > unexpected group owners. > -- > +--------------------------------------------------------------+ > / [EMAIL PROTECTED] 919-445-9302 http://www.unc.edu/~utoddl / > / The only substitute for good manners is fast reflexes. / > +--------------------------------------------------------------+ > _______________________________________________ > OpenAFS-devel mailing list > [email protected] > https://lists.openafs.org/mailman/listinfo/openafs-devel -- -------------------------------------------------------------------------- Troy Benjegerdes 'da hozer' [EMAIL PROTECTED] Somone asked me why I work on this free (http://www.fsf.org/philosophy/) software stuff and not get a real job. Charles Shultz had the best answer: "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Shultz _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
