Re: [Yaffs] SGID operation with directories

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] SGID operation with directories
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