Bug 1768500

Summary: Permissions on /usr/lib/node_modules/less/bin/lessc seem wrong
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: nodejs-lessAssignee: Tom Hughes <tom>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: mrunge, nodejs-sig, sgallagh, tchollingsworth, tom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-04 15:40:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Michael Petullo 2019-11-04 15:39:43 UTC
Description of problem:
The nodejs-less package installs /usr/lib/node_modules/less/bin/lessc without execute permissions. This leaves lessc unable to run.

Version-Release number of selected component (if applicable):
nodejs-less-3.10.3-1.fc31.noarch.rpm

How reproducible:
Every time

Steps to Reproduce:
1. Run lessc

Actual results:
$ lessc
bash: /usr/bin/lessc: Permission denied

Expected results:
lessc should run.

Additional info:
$ ls -l /bin/lessc 
lrwxrwxrwx. 1 root root 36 Aug 23 03:32 /bin/lessc -> /usr/lib/node_modules/less/bin/lessc
$ ls -l /usr/lib/node_modules/less/bin/lessc
-rw-r--r--. 1 root root 398964 Aug 23 03:32 /usr/lib/node_modules/less/bin/lessc

Comment 1 Tom Hughes 2019-11-04 15:40:52 UTC

*** This bug has been marked as a duplicate of bug 1767403 ***