Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45127 - [npm] wrong permissions on man3

Attached to Project: Community Packages
Opened by Ben Woodward (Sacro) - Friday, 29 May 2015, 09:20 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 30 May 2015, 04:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

npm wants to it world writeable, probably not a good idea!

(3/9) upgrading npm [######################] 100%
warning: directory permissions differ on /usr/share/man/man3/
filesystem: 755 package: 777

Steps to reproduce:
Update to npm-2.11.0-1-any
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 30 May 2015, 04:06 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.11.0-2
Comment by Doug Newgard (Scimmia) - Friday, 29 May 2015, 13:59 GMT
Strange. When I extract the package as a user, the permissions on the dir are correct. When I extract as root, the permissions on that dir are 777.
Comment by Peter Wu (Lekensteyn) - Friday, 29 May 2015, 23:00 GMT
Confirmed that the permissions are wrong. This is not the first node package that messed this up, couldn't some automatic mechanism reject such submissions unless explicitly overridden?

$ bsdtar tvf /var/cache/pacman/pkg/npm-2.11.0-1-any.pkg.tar.xz | grep '^[^l].*rwx '
drwxrwxrwx 0 root root 0 May 29 05:16 usr/share/man/man3/

Loading...