Re: Bug#178251: slang: don't do a dh_testroot in clean
On Mon, 2003-03-17 at 06:55, Josip Rodin wrote:
> Since the binary target is invoked as root (be it fakeroot or su or
> whatever, it doesn't matter), and the clean rule needs to clean out the
> debian/tmp or equivalent directories, it needs root as well.
Not with fakeroot:
anthony@whosthere:test_fakeroot$ ls -l
total 0
anthony@whosthere:test_fakeroot$ fakeroot mkdir -p a/b/c
anthony@whosthere:test_fakeroot$ ls -lR
.:
total 4
drwxr-xr-x 3 anthony anthony 4096 Mar 17 12:33 a
./a:
total 4
drwxr-xr-x 3 anthony anthony 4096 Mar 17 12:33 b
./a/b:
total 4
drwxr-xr-x 2 anthony anthony 4096 Mar 17 12:33 c
./a/b/c:
total 0
anthony@whosthere:test_fakeroot$ rm -Rf a
anthony@whosthere:test_fakeroot$ ls -lR
.:
total 0
anthony@whosthere:test_fakeroot$
Reply to: