FS#54065 - [yarn] permission issue

Attached to Project: Community Packages
Opened by Far Wayer (farwayer) - Monday, 15 May 2017, 16:35 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 May 2017, 14:00 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

`zsh: permission denied: yarn`


Additional info:
* yarn 0.24.3-1
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 16 May 2017, 14:00 GMT
Reason for closing:  Fixed
Comment by John S. Smith (potatoe) - Monday, 15 May 2017, 17:51 GMT
Same problem here.

/usr/bin/yarn is linking to /usr/lib/node-modules/yarn/bin/yarn.js, which does not have execute permission. I'm not sure if the problem is that yarn.js should have execute permission or if /usr/bin/yarn should actually be linking to /usr/lib/node-modules/yarn/bin/yarn, which is a shell script that does have execute permissions enabled for all.
Comment by Evan Sosenko (Razor X) - Monday, 15 May 2017, 17:55 GMT
Same issue this morning.
Comment by Adrien Lemaire (Fandekasp) - Tuesday, 16 May 2017, 02:35 GMT
Facing the same issue.
Fixed with `sudo chmod +x /usr/lib/node_modules/yarn/bin/yarn.js`
Comment by Doug Newgard (Scimmia) - Tuesday, 16 May 2017, 04:08 GMT
Looks like upstream fixed this with 0.24.4

Loading...