pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 34 forks source link

Wrong permissions in TDS file on CTAN #413

Open adityam opened 2 years ago

adityam commented 2 years ago

In the TDS file for pgfplots available on CTAN, there are two files which are not readable by others (according to linux file permissions).

Steps to reproduce

wget "http://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip"
unzip pgplots.tds.zip
find ./ -not -perm -o=r 

which gives

./tex/generic/pgfplots/lua/prepcontour.lua
./tex/generic/pgfplots/lua/prepcontour_cli.lua
./doc/generic/pgfplots/license_prepcontour/COPYING

Since prepcontour.lua is not readable, this can cause pgfplots to fail when using luatex engine.

The build process should be adapted so that these files have the right permission.

cfeuersaenger commented 2 years ago

Hi Aditya,

thanks for the report!

I will take care of it.

Kind regards

Christian

Aditya Mahajan @.***> hat am 13.12.2021 20:45 geschrieben:

In the TDS file for pgfplots available on CTAN, there are two files which are not readable by others (according to linux file permissions).

Steps to reproduce

wget "http://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip" unzip pgplots.tds.zip find ./ -not -perm -o=r

which gives

./tex/generic/pgfplots/lua/prepcontour.lua ./tex/generic/pgfplots/lua/prepcontour_cli.lua ./doc/generic/pgfplots/license_prepcontour/COPYING

Since prepcontour.lua is not readable, this can cause pgfplots to fail when using luatex engine.

The build process should be adapted so that these files have the right permission.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pgf-tikz/pgfplots/issues/413 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCGY3GTUCLKIXWSO3H3HMTUQZEODANCNFSM5J67ZJEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

Mo-Gul commented 2 years ago

@muzimuzhi, although this issue is not from you, do you have an idea how to fix this?

hmenke commented 2 years ago

I understand that this was already fixed in https://github.com/pgf-tikz/pgfplots/commit/2c1502a4aff5b385819740264b9a20b9153ae0b9

Mo-Gul commented 2 years ago

Awesome. Then sorry for the noise.

adityam commented 1 year ago

@hmenke @cfeuersaenger: This seems to have reappeared. If I download pgfplots from https://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip

./tex/generic/pgfplots/lua/prepcontour.lua
./tex/generic/pgfplots/lua/prepcontour_cli.lua
./doc/generic/pgfplots/license_prepcontour/COPYING