[debian-edu-commits] [Git][debian-edu/upstream/libpam-mklocaluser][master] debian/pam-python.py: Use octal prefix for dirmode.

WolfgangSchweer gitlab at salsa.debian.org
Thu Dec 12 23:04:40 GMT 2019



WolfgangSchweer pushed to branch master at Debian Edu / upstream / libpam-mklocaluser


Commits:
014bb4e7 by Wolfgang Schweer at 2019-12-12T23:03:27Z
debian/pam-python.py: Use octal prefix for dirmode.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


2 changed files:

- debian/changelog
- debian/pam-python.py


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+libpam-mklocaluser (0.17) UNRELEASED; urgency=medium
+
+  * debian/pam-python.py: Use octal prefix for dirmode.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Thu, 12 Dec 2019 23:59:47 +0100
+
 libpam-mklocaluser (0.16) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/pam-python.py
=====================================
@@ -73,7 +73,7 @@ def check_and_create_localuser(pamh, user):
   shell = '/bin/bash'
 
   # File mode of new home directory
-  dirmode = 0700
+  dirmode = 0o700
 
   # Last password change, use today
   pwlastchange = math.floor(time.time() / (60 * 60 * 24 ))



View it on GitLab: https://salsa.debian.org/debian-edu/upstream/libpam-mklocaluser/commit/014bb4e7ef3da7000d74ae48e1243a20d70f7ae0

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/libpam-mklocaluser/commit/014bb4e7ef3da7000d74ae48e1243a20d70f7ae0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20191212/877b4039/attachment-0001.html>


More information about the debian-edu-commits mailing list