Bug 223782 - www/npm 5.4.2 wrong permissions on npx
Summary: www/npm 5.4.2 wrong permissions on npx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 14:27 UTC by Lapo Luchini
Modified: 2017-12-06 17:51 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2017-11-21 14:27:53 UTC
% npx -v
zsh: permission denied: npx
% ll /usr/local/bin/npx /usr/local/lib/node_modules/npm/bin/npx-cli.js
lrwxr-xr-x  1 root  wheel   38 15 lug 19:10 /usr/local/bin/npx -> ../lib/node_modules/npm/bin/npx-cli.js
-rw-r-xr-x  1 root  wheel  177 14 lug 07:08 /usr/local/lib/node_modules/npm/bin/npx-cli.js
% sudo chmod +x /usr/local/lib/node_modules/npm/bin/npx-cli.js
% npx -v
9.2.0
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-12-06 17:42:53 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Dec  6 17:42:24 UTC 2017
New revision: 455666
URL: https://svnweb.freebsd.org/changeset/ports/455666

Log:
  Fix npx permission

  - Bump PORTREVISION for package change

  PR:		223782
  Reported by:	Lapo Luchini <lapo@lapo.it>

Changes:
  head/www/npm/Makefile
  head/www/npm/pkg-plist
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-12-06 17:51:43 UTC
Committed. Thanks!