scripts/cache-country-mirrors.py is generating files with perms 0600
Bug #548578 reported by
Steve McInerney
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
Ref RT#29756.
When run, the script is resetting all file permissions on the files it creates to 0600, which doesn't work so well on a public webserver.
Have a trailing '; chmod 644 <dir>/*.tx' to autocorrect this, but this will still leave a (small) period where an end user will get a 'permission denied' when accessing.
umask was/is set to 022.
Related branches
lp://staging/~sinzui/launchpad/cache-country-mirrors-0
- Brad Crittenden (community): Approve (code)
-
Diff: 44 lines (+9/-2)2 files modifiedlib/lp/registry/doc/cache-country-mirrors.txt (+6/-1)
scripts/cache-country-mirrors.py (+3/-1)
Changed in launchpad-registry: | |
milestone: | none → 10.04 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad-registry: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: | added: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
To post a comment you must log in.
Fixed in stable r10609 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10609>