scripts/cache-country-mirrors.py is generating files with perms 0600

Bug #548578 reported by Steve McInerney
6
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

Curtis Hovey (sinzui)
Changed in launchpad-registry:
milestone: none → 10.04
status: New → Triaged
importance: Undecided → High
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
tags: added: qa-needstesting
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 548578 Fix released

Fixed released in launchpad-project 10.04.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
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.