Hey tony & Vagrant,

> > Maybe this should be restricted to only make it writeable to the
> > user ... e.g. chmod u+w or similar?

Ah, I mistakenly confused "+w" as a synonym for "u+w". (I used to know
all the octal codes like the back of my hand, but there seems to be
little call to use them in the 2020s…)

> […] I went with the following for symmetry:
>
> execute_before_dh_strip_nondeterminism:
>         find  debian/ -type f -name jtreg.jar -print0 | xargs -0tr chmod u+w
>
> execute_after_dh_strip_nondeterminism:
>         find  debian/ -type f -name jtreg.jar -print0 | xargs -0tr chmod u-w

As you like… Although the `execute_after` portion feels a little
redundant to me. After all, it doesn't seem right that the build
system is generating read-only build artefacts to begin with. But
it's your package. :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to