bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtrivfs broken?


From: Thomas Bushnell BSG
Subject: Re: libtrivfs broken?
Date: Mon, 19 Feb 2007 15:38:04 -0800

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.

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]