[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Makefile
- From: Mike Pall <mikelu-0609@...>
- Date: Fri, 8 Sep 2006 22:35:35 +0200
Luiz Henrique de Figueiredo wrote:
> "cp -p" would be ideal, but I seem to recall that there were problems
> with the -p flag when we last discussed this here. Unfortunately, I
> can't find the anything relevant about it in the archives right now.
It copies the uid/gid, too. So if you "make" as a regular user
and then "make install" as root, you'll end up with a file in
/usr/local/bin owned by an unprivileged user. Not good.