[Yaffs] SGID operation with directories

Charles Manning manningc2 at actrix.gen.nz
Mon May 8 10:06:13 BST 2006


On Thursday 27 April 2006 22:25, Tom Hansen wrote:
> I'm using YAFFS with the 2.4.26-ts9 kernel on a Technologics TS-7250.

Is that YAFFS2?

>
> When I set the SGID bit on a directory, files created under it do not
> inherit the group ID, and directories created under it inherit neither
> the group ID nor the SGID bit.
>
> I have a ramfs mount active at the same time (on /tmp), and the correct
> SGID behavior occurs there, so it does seem to be a filesystem-specific
> issue.
>
> Is there some mount option I should be using?  I tried the 'grpid'
> mount option, but it had no effect on the problem.

Could you send a bash script that can demo the problem?

YAFFS does not listen to any mount options itself, but the VFS can be doing 
things on its behalf.

-- Charles



More information about the yaffs mailing list