[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.45-102-g4c48ac2

Andreas Beckmann debian at abeckmann.de
Fri Aug 3 08:51:35 UTC 2012


The following commit has been merged in the develop branch:
commit 7aa5550be9b0f79f273faad3be561d9c80874870
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sat Jul 28 08:20:43 2012 +0200

    post_install_find_bad_permissions: ignore sockets
    
    skip world writable sockets
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/custom-scripts/scripts/post_install_find_bad_permissions b/custom-scripts/scripts/post_install_find_bad_permissions
index 7e9ef86..442e1ae 100755
--- a/custom-scripts/scripts/post_install_find_bad_permissions
+++ b/custom-scripts/scripts/post_install_find_bad_permissions
@@ -2,7 +2,7 @@
 set -e
 
 # find world writables without sticky bit
-BADPERMS=$(find / -mount ! -type l ! -type c -perm -o+w ! -perm -1000)
+BADPERMS=$(find / -mount ! -type l ! -type c ! -type s -perm -o+w ! -perm -1000)
 
 if [ -n "$BADPERMS" ]; then
 	echo "ERROR: BAD PERMISSIONS"

-- 
piuparts git repository



More information about the Piuparts-commits mailing list