[Python-Dev] Strange umask(?)/st_mode issue (original) (raw)

Cameron Simpson cs at cskk.id.au
Mon Apr 1 18:35:39 EDT 2019


On 01Apr2019 09:12, Steve Dower <steve.dower at python.org> wrote:

On 30Mar2019 1130, Gregory P. Smith wrote:

I wouldn't expect it to be the case in a CI environment but I believe a umask can be overridden if the filesystem is mounted and configured with acls set?  (oh, hah, Ivan just said the same thing) Yep, it appears this is the case. The Pipelines team got back to me and it seems to be a known issue - the workaround they gave me was to run "sudo setfacl -Rb /home/vsts" at the start, so I've merged that in for now (to master and 3.7).

Could that be done without sudo to just the local directory containing the test tar file? If that works then you don't need any nasty privileged sudo use (which will just break on platforms without sudo anyway).

Cheers, Cameron Simpson <cs at cskk.id.au>



More information about the Python-Dev mailing list