mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-06 19:20:08 +00:00
try su to get rid of root
sudo fails because it isn't setuid root... I don't know why su would be, but maybe it is.
This commit is contained in:
parent
90e08314c2
commit
baadf1fad4
@ -196,7 +196,7 @@
|
|||||||
if [ $(id -u) = "0" ]; then
|
if [ $(id -u) = "0" ]; then
|
||||||
# The test suite assumes non-root permissions. Get rid
|
# The test suite assumes non-root permissions. Get rid
|
||||||
# of the root permissions we seem to have.
|
# of the root permissions we seem to have.
|
||||||
SUDO="sudo -u nobody"
|
SUDO="${pkgs.su}/bin/su --shell /bin/sh - nobody --"
|
||||||
else
|
else
|
||||||
SUDO=""
|
SUDO=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user