FS#18833 - devtools / dbscripts: world-readable bit not set on package files
Attached to Project:
Arch Linux
Opened by Chris Brannon (cmb) - Thursday, 25 March 2010, 19:11 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 31 March 2010, 21:59 GMT
Opened by Chris Brannon (cmb) - Thursday, 25 March 2010, 19:11 GMT
Last edited by Pierre Schmitz (Pierre) - Wednesday, 31 March 2010, 21:59 GMT
|
Details
Description:
In certain cases, package files don't have the world-readable bit set. On my local box, I run with a umask of 077. Sometimes, for various reasons, I'll copy a package file from one place to another. Locally, the file ends up having permissions of 0600. Unfortunately, when I upload such a file with commitpkg, the remote copy retains those permissions of 0600. That causes problems when the package is copied into the repo. This can be fixed in either of two places: devtools or dbscripts. There are several patches for dbscripts in the March 2010 archive of the arch-general ML. My proposed patch for devtools is attached. I haven't tested it, because I'm not sure how I can do that without uploading a package. Steps to reproduce: * chmod 600 some-package-file ; commitpkg |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Wednesday, 31 March 2010, 21:59 GMT
Reason for closing: Fixed
Additional comments about closing: in dbscripts and devtools
Wednesday, 31 March 2010, 21:59 GMT
Reason for closing: Fixed
Additional comments about closing: in dbscripts and devtools