Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#43272 - updpkgsums changes permissions to 600
Attached to Project:
Pacman
Opened by Joakim Hernberg (jhernberg) - Tuesday, 30 December 2014, 12:39 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 04 January 2015, 17:23 GMT
Opened by Joakim Hernberg (jhernberg) - Tuesday, 30 December 2014, 12:39 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 04 January 2015, 17:23 GMT
|
DetailsDescription:
updpkgsums changes the permissions of PKGBUILD to 600 Additional info: pacman 4.2.0-5 Steps to reproduce: Just run updpkgsums in a dir with a PKGBUILD. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 04 January 2015, 17:23 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=ca5a2771aeb0
Sunday, 04 January 2015, 17:23 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=ca5a2771aeb0
That was my first thought as well, but the flag is GNU specific and doesn't exist anywhere else. Scraping the permissions off of the file also gets painful because stat(1) isn't portable. The simplest solution I can come up with is using cat to "copy" the file. This retains permissions, and there's already an exit trap to clean up afterwards.