Merge lp://qastaging/~joke/bzr/file_permissions_authentication.conf into lp://qastaging/bzr
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~joke/bzr/file_permissions_authentication.conf |
Merge into: | lp://qastaging/bzr |
Diff against target: |
52 lines (+19/-0) (has conflicts) 1 file modified
bzrlib/config.py (+19/-0) Text conflict in bzrlib/config.py |
To merge this branch: | bzr merge lp://qastaging/~joke/bzr/file_permissions_authentication.conf |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Needs Information | ||
Review via email:
|
Commit message
Bug #475501, create authentication.conf with mode 0600
Description of the change
We currently don't do much fancy with authentication.conf permissions. Joke de Buhr reasonably pointed out that we could create the file as 600 and avoid defaulting to having your passwords accessible by other users on the system.
I haven't looked over the patch at all, just trying to get it out of the In Progress queue and get a decision on it.
Unmerged revisions
- 4791. By Joke de Buhr
-
Don't emit warning message if the option 'no_insecure_
permissions_ warning'
is set to 'True' in bazaar.conf [DEFAULT] - 4790. By Joke de Buhr
-
Emit warning message if an authentication.conf file hase insecure file permissions.
- 4789. By Joke de Buhr
-
create authentication.conf with umask 166 (permissions: u=rw,go=)
I wonder how this will do on Windows? It seems to rely on Unix modes, and it would be nice to add some tests.