lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.