Bart Smaalders wrote:

> I'm working on getting wireshark integrated into sfw.... and I'm
> wondering:
> 
> Given that we normally run builds as non-root, is it still important
> that root builds install w/ the correct owners and modes?

IMHO, it's not relevant any longer. The prototype file is relevant, and is the 
"record of reference". But what's in the prototype file will not match what 
"make install" does -- i.e. what ends up in the shadow area, anyway, neither in 
terms of owner/group, nor in terms of file permissions.

> I'm wondering because I can use DESTDIR to install using the
> install target in the package, but the modes/owners don't
> match Solaris defaults when run as root.

IMHO we should check for correctness in the prototype file, and ignore what's 
copied on disk by "make install", since "make install" will often install a 
bunch of files we won't include in the prototype file anyway (for example the 
libtool *.la files).

0.02.

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
Stefan.Teleman at Sun.COM


Reply via email to