Shell files in `/bin` can be made executable

Japris Pogrammer mrjarviscraft at gmail.com
Tue Nov 23 15:33:34 UTC 2021


Thanks for your quick responses!

Are there any actual reasons for this restriction or is it here just for
historical reasons?
If there is a possibility of dropping this limitation, as Magnus says, I
also would like to support it.

вт, 23 нояб. 2021 г. в 18:08, Kevin Rushforth <kevin.rushforth at oracle.com>:

> No, executable files are explicitly prohibited in the jdk repo. This is
> enforced by jcheck [3].
>
> -- Kevin
>
> [3] https://github.com/openjdk/jdk/blob/master/.jcheck/conf#L6
>
>
> On 11/23/2021 6:59 AM, Japris Pogrammer wrote:
> > Currently [1] shell scripts in /bin directory seem to be missing x
> > modifier. I guess that it should be added to them in order to improve
> their
> > usage experience a bit.
> > Is this assumption right?
> > If yes, then I am ready to propose a simple fix for this [2].
> >
> > [1]:
> >
> https://github.com/openjdk/jdk/blob/f4dc03ea6de327425ff265c3d2ec16ea7b0e1634/bin/
> > [2]:
> https://github.com/JarvisCraft/jdk/tree/bin-make-shell-files-executable
>
>


More information about the jdk-dev mailing list