parent
db6ea8a934
commit
976c458ed8
@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/base/password.py b/base/password.py
|
||||||
|
index fc5d2e5..34ba1f7 100644
|
||||||
|
--- a/base/password.py
|
||||||
|
+++ b/base/password.py
|
||||||
|
@@ -57,6 +57,7 @@ AUTH_TYPES = {'mepis': 'su',
|
||||||
|
'boss': 'su',
|
||||||
|
'lfs': 'su',
|
||||||
|
'manjarolinux': 'sudo',
|
||||||
|
+ 'msvsphere': 'su',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/base/validation.py b/base/validation.py
|
||||||
|
index d555f12..26f8aa3 100644
|
||||||
|
--- a/base/validation.py
|
||||||
|
+++ b/base/validation.py
|
||||||
|
@@ -55,7 +55,7 @@ class GPG_Verification(DigiSign_Verification):
|
||||||
|
|
||||||
|
if not os.path.exists(self.__gpg_dir):
|
||||||
|
try:
|
||||||
|
- os.mkdir(self.__gpg_dir, 0o755)
|
||||||
|
+ os.mkdir(self.__gpg_dir, 0o700)
|
||||||
|
except OSError:
|
||||||
|
log.error("Failed to create %s" % self.__gpg_dir)
|
||||||
|
self.__change_owner()
|
Loading…
Reference in new issue