0060
Please change the permission of .xml in tar.gz published from Alma from mode 0060 to 0664 or 0644. This allows Unix users to access extracted xml immediately without changing the permission on the filesystem level.
In the January 2020 release, this issue was corrected
SF: 00509995 The wrong permission flag was removed from tar compression code.
-
Daniel Sandbecker commented
@Erik No that won't help, at least not without some (additional) additional step. You don't add permissions with the umask, you strip them. When extracting the gz, the command will request that the file be created with 0060 (as it was stored by Ex Libris) but that is then passed through the umask. An umask of 0002 would keep the existing 0060. That is at least better than umask 0022 (which is *very* common) that would strip the permissions to the even more ridiculous 0040, but it is still an annoyance.
Anyway, the permissions for these files should just use a sane default, like Ulrich requested, which would spare us these completely unnecessary extra steps. There is literally no reason at all to make the permissions "0" for the user. Still Ex Libris replied that this was "by design" when I opened an issue.
-
Erik Biever commented
You can accomplish this on the unix end by setting 'umask 0002' for the unix user that writes the xml files to the filesystem. All files written by that user will have 0664 permissions.