zc.buildout does not honour umask

Bug #180705 reported by Florian Friesdorf
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Buildout
Confirmed
Undecided
Unassigned

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.

Revision history for this message
Florian Friesdorf (flow-mytum) wrote :
Revision history for this message
Frédéric Junod (fredj) wrote :

Hi,

A more pythonic implementation in this patch.

Regards,

fredj

Revision history for this message
Frédéric Junod (fredj) wrote :

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

Revision history for this message
Frédéric Junod (fredj) wrote :

Any chance of getting this merged?

Revision history for this message
Jim Fulton (jim-zope) wrote : Re: [Bug 180705] Re: zc.buildout does not honour umask

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

--
Jim Fulton
http://www.linkedin.com/in/jimfulton

Revision history for this message
Frédéric Junod (fredj) wrote :

Any chance of getting this merged?

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.