Re: libtrivfs broken?

2007-02-19 Thread Thomas Bushnell BSG
On Tue, 2007-02-20 at 00:46 +0100, Richard Braun wrote: > I understand the point. But calling file_getcontrol() on the upper-level > node won't allow us to update the options of the trivfs translator AIUI. > Isn't there a way to do that without being root ? Yes it will; it will give you the fsys h

addauth and rmauth fail from ssh sessions

2007-02-19 Thread Anton Oussik
addauth and rmauth commands misbehave when run from ssh sessions. Here is sample output from a session [EMAIL PROTECTED]:~$ ids effective uids: 1000(anton) effective gids: 1000(anton) available uids: 1000(anton) 1000(anton) available gids: 1000(anton) 1000(anton) [EMAIL PROTECTED]:~$ addauth root

[task #6537] Implement ddb/db_elf.c

2007-02-19 Thread Samuel Thibault
URL: Summary: Implement ddb/db_elf.c Project: The GNU Hurd Submitted by: sthibaul Submitted on: mardi 20.02.2007 à 01:52 Category: GNU Mach Should Start On: mardi 20.02.2007 à

Re: libtrivfs broken?

2007-02-19 Thread Ben Asselstine
On 2/19/07, Thomas Bushnell BSG <[EMAIL PROTECTED]> 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 th

Re: libtrivfs broken?

2007-02-19 Thread Richard Braun
On Mon, Feb 19, 2007 at 03:38:04PM -0800, Thomas Bushnell BSG wrote: > 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

Re: libtrivfs broken?

2007-02-19 Thread Thomas Bushnell BSG
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

Re: libtrivfs broken?

2007-02-19 Thread Richard Braun
On Mon, Feb 19, 2007 at 03:16:24PM -0800, Thomas Bushnell BSG wrote: > > I had this problem when working on the BPF translator, and was wanting to > > look deeper before reporting, then I forgot :-(. > > > > The faulty code is in hurd/libtrivfs/file-getcontrol.c : > > > > kern_return_t > > trivfs

Re: libtrivfs broken?

2007-02-19 Thread Thomas Bushnell BSG
On Mon, 2007-02-19 at 23:13 +0100, Richard Braun wrote: > On Mon, Feb 19, 2007 at 04:58:24PM -0500, Ben Asselstine wrote: > > Hello, > > > > I ran across this behaviour recently. It works if I do the same as > > the root user. Is anyone else having this problem? > > > > v+ > > [EMAIL PROTECTED]

Re: libtrivfs broken?

2007-02-19 Thread Richard Braun
On Mon, Feb 19, 2007 at 04:58:24PM -0500, Ben Asselstine wrote: > Hello, > > I ran across this behaviour recently. It works if I do the same as > the root user. Is anyone else having this problem? > > v+ > [EMAIL PROTECTED]:/tmp/bing$ settrans -ac yoyo /hurd/hello --contents="yoyo" > [EMAIL PRO

libtrivfs broken?

2007-02-19 Thread Ben Asselstine
Hello, I ran across this behaviour recently. It works if I do the same as the root user. Is anyone else having this problem? v+ [EMAIL PROTECTED]:/tmp/bing$ settrans -ac yoyo /hurd/hello --contents="yoyo" [EMAIL PROTECTED]:/tmp/bing$ cat yoyo [EMAIL PROTECTED]:/tmp/bing$ fsysopts yoyo --conten