[Top][All Lists]

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

Re: libtrivfs broken?

From: Ben Asselstine
Subject: Re: libtrivfs broken?
Date: Mon, 19 Feb 2007 18:49:14 -0500

On 2/19/07, Thomas Bushnell BSG <tb@becket.net> wrote:
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.

Maybe this bit of info will help:

bing@clubber:~$ fsysopts /tmp
/hurd/ext2fs.static --writable --no-inherit-dir-group
--store-type=typed device:hd0s1
bing@clubber:~$ ls -ld /tmp
drwxrwxrwt 9 root root 12288 Feb 19 18:07 /tmp

My guess is that --no-inherit-dir-group is probably the culprit, but I
can't remember exactly why.


reply via email to

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