File: t.touchinstall

package info (click to toggle)
fakeroot 1.5.10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,804 kB
  • ctags: 455
  • sloc: sh: 9,226; ansic: 2,554; makefile: 277
file content (8 lines) | stat: -rwxr-xr-x 202 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

mkdir tmp
../scripts/fakeroot${tcp} -f ../faked${tcp} -l ../.libs/${libfakeroot} -- \
 ${posixshell} -c "touch tmp/iamnotuser; ls -al tmp/iamnotuser" | grep root
TEMP=$?
rm -r tmp
exit $TEMP