X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-keyring%2Fremove_others_perms_on_keyringcfg_file.patch;fp=meta-stx%2Frecipes-devtools%2Fpython%2Ffiles%2Fpython-keyring%2Fremove_others_perms_on_keyringcfg_file.patch;h=dcc4c2e05811bda787a5cb7b1011503d04d72b36;hb=57fdea704bd62af847872c40508f00aa1d7cac60;hp=0000000000000000000000000000000000000000;hpb=f23f21bccfb750b9e30141fd9676515215ffbc4e;p=pti%2Frtp.git diff --git a/meta-stx/recipes-devtools/python/files/python-keyring/remove_others_perms_on_keyringcfg_file.patch b/meta-stx/recipes-devtools/python/files/python-keyring/remove_others_perms_on_keyringcfg_file.patch new file mode 100644 index 0000000..dcc4c2e --- /dev/null +++ b/meta-stx/recipes-devtools/python/files/python-keyring/remove_others_perms_on_keyringcfg_file.patch @@ -0,0 +1,15 @@ +--- + keyring/backends/file.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/keyring/backends/file.py ++++ b/keyring/backends/file.py +@@ -149,7 +149,7 @@ class BaseKeyring(FileBacked, KeyringBac + # create the file without group/world permissions + with open(self.file_path, 'w'): + pass +- user_read_write = 0o644 ++ user_read_write = 0o640 + os.chmod(self.file_path, user_read_write) + if not os.path.isfile(lockdir + "/" + lockfile): + with open(lockdir + "/" + lockfile, 'w'):