Xymon Mailing List Archive search

installation permission

2 messages in this thread

list Rong-En Fan · Tue, 24 Oct 2006 16:40:37 +0800 ·
Hi,

I found that in 4.2.0, most Makefile uses 'cp -p' to install 
programs, manaul pages, etc. This will result in wrong ownership
if you build as a normal user and install by root.

I'm wondering why not using 'install' so we can handle ownership
and permission at the same file?

Regards,
Rong-En Fan
list Henrik Størner · Tue, 24 Oct 2006 14:43:48 +0200 ·
quoted from Rong-En Fan
On Tue, Oct 24, 2006 at 04:40:37PM +0800, Rong-En Fan wrote:
I found that in 4.2.0, most Makefile uses 'cp -p' to install 
programs, manaul pages, etc. This will result in wrong ownership
if you build as a normal user and install by root.

I'm wondering why not using 'install' so we can handle ownership
and permission at the same file?
Because "install" does not exist on all platforms.


Regards,
Henrik