pgfplots icon indicating copy to clipboard operation
pgfplots copied to clipboard

Wrong permissions in TDS file on CTAN

Open adityam opened this issue 3 years ago • 5 comments

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.

adityam avatar Dec 13 '21 19:12 adityam

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 .

cfeuersaenger avatar Dec 17 '21 12:12 cfeuersaenger

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

Mo-Gul avatar Jan 04 '22 21:01 Mo-Gul

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

hmenke avatar Jan 04 '22 21:01 hmenke

Awesome. Then sorry for the noise.

Mo-Gul avatar Jan 05 '22 06:01 Mo-Gul

@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

adityam avatar Apr 03 '23 03:04 adityam