On Tue, 2007-02-20 at 00:23 +0100, Richard Braun wrote:
> > What makes you think that's a bug?
>
> I don't know if it's a bug actually, I mentionned I wanted to study the
> problem. Still, it seems weird that fsysopts isn't able to get the control
> of a node which belongs to the user. Any reason for this behaviour ?
The node doesn't "belong to the user"; the filesystem does not know or
care what access permissions are there in the upper-level filesystem.
It is in *that* filesystem which the user is marked the owner; not in
the running trivfs filesystem.
So you need to ask the upper level filesystem for it: since you are the
owner of the upper-level node, you can call file_getcontrol on the
upper-level node.