Commit 65cf75e2 authored by Andreas Jung's avatar Andreas Jung

added code to fix the permission of the generated files in 'bin'

parent f0499a62
......@@ -186,6 +186,13 @@ def copyskel(sourcedir, targetdir, uid, gid, **replacements):
print >>sys.stderr, msg
sys.exit(1)
# fix permission in 'bin' directory
bin_dir = os.path.join(targetdir, 'bin')
for fname in os.listdir(bin_dir):
fullname = os.path.join(bin_dir, fname)
os.chmod(fullname, 0700)
CVS_DIRS = [os.path.normcase("CVS"), os.path.normcase(".svn")]
def copydir((targetdir, replacements, uid, gid), sourcedir, names):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment