bug-hurd
[Top][All Lists]
Advanced

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

Re: fakeroot-hurd doesn't work with scripts


From: Justus Winter
Subject: Re: fakeroot-hurd doesn't work with scripts
Date: Mon, 07 Mar 2016 20:30:37 +0100
User-agent: alot/0.3.8.dev

Hi,

Quoting Samuel Thibault (2016-03-04 18:39:21)
> We have an issue between fakeroot and scripts (from the borgbackup build
> log):
> 
> > fakeroot dh_auto_test
> > Can't open perl script "dh_auto_test": No such file or directory
> 
> I guess that's due to the way fakeauth starts the program, I haven't
> looked further.

I cannot reproduce this:

teythoon@hurdbox ~ % for x in sh py pl; do cat test.$x ; fakeroot ./test.$x ; 
done
#!/bin/sh
echo $0
ids
./test.sh
effective uids: 0(root)
effective gids: 0(root)
available uids: 0(root) 0(root)
available gids: 0(root) 0(root)
#!/usr/bin/env python
import sys
print(sys.argv[0])
./test.py
#!/usr/bin/env perl

print "Hello from perl";
system("ids");
Hello from perleffective uids: 0(root)
effective gids: 0(root)
available uids: 0(root) 0(root)
available gids: 0(root) 0(root)

Justus



reply via email to

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