Merge lp:~allenap/launchpad/test-file-creation-oneiric-bug-892955 into lp:launchpad
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 14417 |
Proposed branch: | lp:~allenap/launchpad/test-file-creation-oneiric-bug-892955 |
Merge into: | lp:launchpad |
Diff against target: |
75 lines (+14/-8) 2 files modified
lib/lp/poppy/tests/test_twistedsftp.py (+12/-6) lib/lp/poppy/twistedsftp.py (+2/-2) |
To merge this branch: | bzr merge lp:~allenap/launchpad/test-file-creation-oneiric-bug-892955 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+83959@code.launchpad.net |
Commit message
[r=julian-edwards][bug=892955] Create files with 0644 in SFTPFile.
Description of the change
Just use the intended file permissions in writeChunk() in the first place. The test worked before because the umask was 0022. It has now changed to 0002 on Oneiric.
To post a comment you must log in.