add hint to pythons octal mode

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 13 years ago
parent 99b3b0789b
commit 4e3fec1e9e
  1. 2
      bin/cdist

@ -551,7 +551,7 @@ class Cdist:
if status.st_size == len(CODE_HEADER):
os.unlink(outfile)
else:
# Add header and make executable
# Add header and make executable - identically to 0o700
os.chmod(outfile, stat.S_IXUSR | stat.S_IRUSR | stat.S_IWUSR)
if mode == "code":

Loading…
Cancel
Save