zc.buildout does not honour umask

Bug #180705 reported by Florian Friesdorf on 2008-01-06
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

zc.buildout.easy_install uses os.chmod(dest, 0755) to set execute permissions. By that, the umask is getting ignored. Instead the systems chmod +x should be used, or a python equivalent, which honours the umask.

Frédéric Junod (fredj) wrote :


A more pythonic implementation in this patch.



Frédéric Junod (fredj) wrote :

patch against svn://svn.zope.org/repos/main/zc.buildout/trunk, please review.

Frédéric Junod (fredj) wrote :

Any chance of getting this merged?

2011/7/28 Frédéric Junod <email address hidden>:
> Any chance of getting this merged?

Yes. Sorry, I have quite a buildout backlog that I'll try to get to soon.


Jim Fulton

Frédéric Junod (fredj) wrote :

Any chance of getting this merged?

Domen Kožar (ielectric+) wrote :

If you do pull request with tests for this one https://github.com/fredj/buildout/commit/b5e9334f83b279d2cd8fdb5e0c0521ebf09a04ba, I'll merge it :)

Changed in zc.buildout:
status: New → Confirmed
Frédéric Junod (fredj) wrote :

Pull request submited. Unfortunately I've not time right now to add tests

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers