[rb-general] [Debian] just how do you set the umask that setting it back to 022 doesn’t work?
Chris Lamb
lamby at debian.org
Fri Feb 7 23:57:06 UTC 2020
Thorsten,
> … nowhere in there does it say any Unix permissions.
>
> Are those really stored in the PKZIP archive, or […]
Yes, try zipinfo(1):
$ zipinfo -v path/to/Advanced.workspace | fgrep 'Unix file'
Unix file attributes (100644 octal): -rw-r--r--
Unix file attributes (100644 octal): -rw-r--r--
One can confirm that this is the tool used by diffoscope (which, as an
aside, definitely resets its own umask…) here:
│ ├── data.tar.xz
│ │ ├── data.tar
│ │ │ ├── ./usr/share/mscore3-3.2/workspaces/Advanced.workspace
│ │ │ │ ├── zipinfo /dev/stdin
^^^^^^^
> OK, this really is unfun.
Hopefully we can keep this list friendly and welcoming to all
regardless of your understandable frustration.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org 🍥 chris-lamb.co.uk
`-
More information about the rb-general
mailing list