pkgsrc-Users archive

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

Re: unpriviledged builds



7. 10. 2014 v 15:59, Patrick Welche <prlw1%cam.ac.uk@localhost>:

> In sysutils/smartmontools/Makefile, I see:
> 
> CONF_FILES_PERMS=       ${EGDIR}/smartd_warning.sh \
>                        ${PKG_SYSCONFDIR}/smartd_warning.sh \
>                        ${ROOT_USER} ${ROOT_GROUP} 0755
> 
> After building it using pbulk with user "bulk", I see in its +INSTALL:
> 
> # FILE: etc/smartd_warning.sh c share/examples/smartmontools/smartd_warning.sh
> +0755 bulk users
> 
> Didn't that want to say "root wheel" rather than "bulk users"? or?
> 
> Looking in unpriviledged.mk, there are many XXX…
> 

I believe this problem is widespread in other packages too, and it should have been ${REAL_ROOT_USER} instead. Sadly unprivileged.mk is not an easy read.

-F



Home | Main Index | Thread Index | Old Index