From: Adam Mizerski Date: 2013-10-26 17:18:55 +0200 Subject: Fix paths to setcap and getcap Upstream: no In openSUSE /sbin is not in PATH. diff -ru fakeroot-1.20/test/t.xattr fakeroot-1.20_mod/test/t.xattr --- fakeroot-1.20/test/t.xattr 2013-09-20 15:54:24.000000000 +0200 +++ fakeroot-1.20_mod/test/t.xattr 2013-10-26 17:18:34.859558497 +0200 @@ -23,7 +23,7 @@ mkdir $tmp touch $tmp/foo # fakeroot mangles spaces unless the getopt utility is the GNU version -echo "setcap cap_net_raw+ep $tmp/foo; getcap $tmp/foo" >$tmp/sh +echo "/sbin/setcap cap_net_raw+ep $tmp/foo; /sbin/getcap $tmp/foo" >$tmp/sh run_fakeroot -- \ ${posixshell} $tmp/sh >$tmp/out cat $tmp/out