summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writeexts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writeexts.py b/writeexts.py
index 6eec4465..3382767c 100644
--- a/writeexts.py
+++ b/writeexts.py
@@ -359,7 +359,7 @@ class WriteExtension(cliapp.Application):
self.status(msg='Creating %s subvolume' % state_subdir)
subvolume = os.path.join(mountpoint, 'state', state_subdir)
cliapp.runcmd(['btrfs', 'subvolume', 'create', subvolume])
- os.chmod(subvolume, 0755)
+ os.chmod(subvolume, 0o755)
existing_state_dir = os.path.join(system_dir, state_subdir)
files = []