FS#47858 - [nodejs-babel-cli] No executable permissions

Attached to Project: Community Packages
Opened by Phil Schaf (flying-sheep) - Friday, 22 January 2016, 09:08 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 23 January 2016, 02:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

the symlinks have the executable bit set

$ pacman -Qlq nodejs-babel-cli | grep '/usr/bin/\w' | xargs ls -ld
lrwxrwxrwx 1 root root 42 20. Jan 02:44 /usr/bin/babel -> ../lib/node_modules/babel-cli/bin/babel.js
lrwxrwxrwx 1 root root 49 20. Jan 02:44 /usr/bin/babel-doctor -> ../lib/node_modules/babel-cli/bin/babel-doctor.js
lrwxrwxrwx 1 root root 59 20. Jan 02:44 /usr/bin/babel-external-helpers -> ../lib/node_modules/babel-cli/bin/babel-external-helpers.js
lrwxrwxrwx 1 root root 47 20. Jan 02:44 /usr/bin/babel-node -> ../lib/node_modules/babel-cli/bin/babel-node.js

but when following the symlinks, the linked-to scripts haven’t

$ pacman -Qlq nodejs-babel-cli | grep '/usr/bin/\w' | xargs ls -ldH
-rw-r--r-- 1 root root 46 8. Jan 15:01 /usr/bin/babel
-rw-r--r-- 1 root root 53 8. Jan 15:01 /usr/bin/babel-doctor
-rw-r--r-- 1 root root 63 8. Jan 15:01 /usr/bin/babel-external-helpers
-rw-r--r-- 1 root root 51 8. Jan 15:01 /usr/bin/babel-node

PS: how does the severity work? does “critical” mean “IT’S A SECURITY RISK!!!” or rather “the package doesn’t do at all what it’s supposed to do” or “it crashes at start”

because this is easily detectable and fixable with chmod +x, but still removes the usability of this package when untreated.
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 23 January 2016, 02:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.4.5-2
Comment by Doug Newgard (Scimmia) - Friday, 22 January 2016, 13:53 GMT
For severity, read the link at the top of the page.

Loading...