Subject: Re: "make install" owerwrites files without asking
To: Jeremy C. Reed <>
From: Pavel Cahyna <>
List: tech-pkg
Date: 06/30/2005 19:00:26
On Thu, Jun 30, 2005 at 09:54:42AM -0700, Jeremy C. Reed wrote:
> As far as I can tell, the chown in your example made no sense. The files
> were already owned as root:root (when you did mkdir and touch).

You are right, chown was superfluous, so a more interesting example:

$ fakeroot
bash-2.05a# mkdir fakeroot 
bash-2.05a# ls -ld fakeroot
drwxr-xr-x    2 root     root            6 Jun 30 18:57 fakeroot
bash-2.05a# touch fakeroot/login
bash-2.05a# chown root:utmp fakeroot/login 
bash-2.05a# ls -l fakeroot/login 
-rw-r--r--    1 root     utmp            0 Jun 30 18:57 fakeroot/login

> Can you do the fakeroot again doing the steps as a non-root user and show
> the ls -l and tar listing again?

I don't understand how I should do the steps as a non-root user (you mean
outside the fakeroot environment?)

Bye	Pavel