pld-ftp-admin: scripts/gen-indexes.py Add umask 022 before regener...

arekm arekm at pld-linux.org
Thu Sep 1 22:57:43 CEST 2005


Author: arekm                        Date: Thu Sep  1 20:57:43 2005 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
Add umask 022 before regenerating indexes.

---- Files affected:
pld-ftp-admin/scripts:
   gen-indexes.py (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.8 pld-ftp-admin/scripts/gen-indexes.py:1.9
--- pld-ftp-admin/scripts/gen-indexes.py:1.8	Fri Jul 15 02:01:21 2005
+++ pld-ftp-admin/scripts/gen-indexes.py	Thu Sep  1 22:57:38 2005
@@ -33,6 +33,8 @@
 
 home=os.environ['HOME']
 
+os.umask(022)
+
 for tree in trees:
     print '-------------------------- %s --------------------------' % tree
     for arch in all_ftp_archs:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-ftp-admin/scripts/gen-indexes.py?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list