[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:16:24 -0800 |
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+
> > bing@clubber:/tmp/bing$ settrans -ac yoyo /hurd/hello --contents="yoyo"
> > bing@clubber:/tmp/bing$ cat yoyo
> > yoyobing@clubber:/tmp/bing$ fsysopts yoyo --contents="yaya"
> > fsysopts: yoyo: Operation not permitted
>
> 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_S_file_getcontrol (struct trivfs_protid *cred,
> ...
> {
> ...
> if (!cred->isroot)
> return EPERM;
> ...
> }
What makes you think that's a bug?
signature.asc
Description: This is a digitally signed message part
- libtrivfs broken?, Ben Asselstine, 2007/02/19
- Re: libtrivfs broken?, Richard Braun, 2007/02/19
- Re: libtrivfs broken?,
Thomas Bushnell BSG <=
- Re: libtrivfs broken?, Richard Braun, 2007/02/19
- Re: libtrivfs broken?, Thomas Bushnell BSG, 2007/02/19
- Re: libtrivfs broken?, Richard Braun, 2007/02/19
- Re: libtrivfs broken?, Thomas Bushnell BSG, 2007/02/19
- Re: libtrivfs broken?, Richard Braun, 2007/02/20
- Re: libtrivfs broken?, Thomas Bushnell BSG, 2007/02/20
- Re: libtrivfs broken?, Ben Asselstine, 2007/02/19