Merge lp://staging/~nononoha/command-not-found/command-not-found into lp://staging/command-not-found

Proposed by Noah Gorny
Status: Needs review
Proposed branch: lp://staging/~nononoha/command-not-found/command-not-found
Merge into: lp://staging/command-not-found
Diff against target: 21 lines (+4/-0)
1 file modified
CommandNotFound/db/creator.py (+4/-0)
To merge this branch: bzr merge lp://staging/~nononoha/command-not-found/command-not-found
Reviewer Review Type Date Requested Status
Adrian Wilkins (community) Approve
Michael Vogt Pending
Review via email: mp+392242@code.staging.launchpad.net

Commit message

Fix file permissions of db on creation

Description of the change

As noted in https://bugs.launchpad.net/command-not-found/+bug/1824000
The db file is sometimes created with incorrect permissions, which causes crashes
This fixes the problem by chmoding the db file to 644 on creation.

To post a comment you must log in.
279. By Noah Gorny

db: creator: Fix file permissions of db on creation

Revision history for this message
Noah Gorny (nononoha) wrote :

I can not link to the bug for some reason, but it resolves https://bugs.launchpad.net/command-not-found/+bug/1824000

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

Looks good.

review: Approve

Unmerged revisions

279. By Noah Gorny

db: creator: Fix file permissions of db on creation

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: