[debian-edu-commits] debian-edu/upstream/ 64/71: Make sure to fix the home directory as well as all files and directories below it.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Jun 9 18:25:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository libpam-mklocaluser.

commit 5570ad206c45c8d4f79318529023e66921d7245e
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sat May 4 09:56:44 2013 +0000

    Make sure to fix the home directory as well as all files and directories below it.
---
 debian/pam-python.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/pam-python.py b/debian/pam-python.py
index a50ef46..0a79c1c 100755
--- a/debian/pam-python.py
+++ b/debian/pam-python.py
@@ -21,6 +21,7 @@ def append_line(filename, line):
   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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/libpam-mklocaluser.git



More information about the debian-edu-commits mailing list