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]:/tmp/bing$ settrans -ac yoyo /hurd/hello --contents="yoyo"
> > [EMAIL PROTECTED]:/tmp/bing$ cat yoyo
> > [EMAIL PROTECTED]:/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
_______________________________________________ Bug-hurd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-hurd
