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

Do Debian packages need to build properly with umask 0007? (was: Bug#208802: Wrong permissions on exim manpages)



On Sun, Sep 07, 2003 at 09:50:27AM +1200, Ewen McNeill wrote:
> As noted, the permissions on the exim manpage from the exim security
> update (DSA-376-1) are wrong: they are 640 rather than 644.  This breaks
> mandb amongst other things, which causes the mandb cron.daily job to
> fail.
> 
> It appears that the wrong umask was in effect when the package was
> built.
[...]

Hello,
This leads to the question stated in the subject: Is it an error in
the package if it does not build correctly with umask 0007?

If it is an error, is there a straightforward way to fix it, i.e. some
magic setting in debian/rules? (/I/ did not find anything in the
make-manual.) If not it boils down to avoid cp (without -a or -p)
and use install -m<correct mode> instead.

I am aware that the whole problem has almost no impact on the packages
using debhelper because dh_fixperms takes care of it.
             cu andreas



Reply to: