[debian-edu-commits] r79922 - trunk/src/libpam-mklocaluser/debian

pere at alioth.debian.org pere at alioth.debian.org
Sat May 4 09:56:44 UTC 2013


Author: pere
Date: 2013-05-04 09:56:44 +0000 (Sat, 04 May 2013)
New Revision: 79922

Modified:
   trunk/src/libpam-mklocaluser/debian/pam-python.py
Log:
Make sure to fix the home directory as well as all files and directories below it.

Modified: trunk/src/libpam-mklocaluser/debian/pam-python.py
===================================================================
--- trunk/src/libpam-mklocaluser/debian/pam-python.py	2013-05-04 09:51:46 UTC (rev 79921)
+++ trunk/src/libpam-mklocaluser/debian/pam-python.py	2013-05-04 09:56:44 UTC (rev 79922)
@@ -21,6 +21,7 @@
   f.close()
 
 def chown_recursive(path, uid, gid):
+  os.chown(path, uid, gid)
   for root, dirs, files in os.walk(path):  
     for dirname in dirs:  
       os.chown(os.path.join(root, dirname), uid, gid)




More information about the debian-edu-commits mailing list