[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
Sun Feb 9 08:57:09 UTC 2020


Chris Lamb wrote:

> > Yes, of course. I was a bit frustrated in my inability to
> > figure out where the permission bits come from.
> 
> Oh I can relate, don't worry...

Another solution might be to let strip-nondeterminism handle
these Zip files. There is prior art for this in that we handle other
Zip files with non-.zip extensions:

106         # zip
107         if (m/\.(zip|pk3|epub|whl|xpi|htb|zhfst|par|codadef)$/
108                 && _get_file_type($_) =~ m/Zip archive data|EPUB document/) {
109                 return _handler('zip');
110         }

… so it would be simply a case of suffixing "|advanced" to the above
regex.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-


More information about the rb-general mailing list