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

Re: umask-dependent debian/rules

Hi Nikita!

You wrote:

> I would like to ask, is it considered a bug or not, if debian/rules 
> implicitly depends on umask 022 (and produces packages with broken file 
> permissions if umask is more strict).
> E.g. see #399058.
> If this is considered a bug, I guess it may be a subject for mass 
> bug-filing...

Yes, I definately consider this a bug.  I have a 077 umask, and packages
not handling this gracefully in debian/rules (e.g. using cp rather than
install to install file into debian/tmp or so) has bitten me multiple
times in the past.

I wouldn't consider it RC though, as all autobuilder and pbuilder
environments use a 022 umask (afaik).

Kind regards,
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@debian.org             |              a2b1 2bae e41f 0644 fab7 |

Reply to: