← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1568822] Re: Umask permission is incorrect

 

If you use os.chmod("/tmp/foo.txt", 0600) with python3 it will produce
an "SyntaxError: invalid token"

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1568822

Title:
  Umask permission is incorrect

Status in Glance:
  Invalid

Bug description:
  Umask permission is incorrect,

   os.umask(0o27)

  Ref:
  https://github.com/openstack/glance/blob/master/glance/common/wsgi.py#L271-L271

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1568822/+subscriptions


References