diff --git a/example/gitea-custom/files/body_inner_pre.tmpl b/example/gitea-custom/files/body_inner_pre.tmpl index c337bf3..ecb9c4f 100644 --- a/example/gitea-custom/files/body_inner_pre.tmpl +++ b/example/gitea-custom/files/body_inner_pre.tmpl @@ -5,6 +5,6 @@ are only meant to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED - projects. + projects. Thank you for your understanding! {{end}} diff --git a/focker/zfs.py b/focker/zfs.py index 24e1892..6d037e9 100644 --- a/focker/zfs.py +++ b/focker/zfs.py @@ -195,6 +195,7 @@ def zfs_init(): for path in ['/focker', '/focker/images', '/focker/volumes', '/focker/jails']: if not os.path.exists(path): os.mkdir(path) + os.chmod('/focker', 0o600) if not zfs_exists(poolname + '/focker'): zfs_run(['zfs', 'create', '-o', 'canmount=off', '-o', 'mountpoint=/focker', poolname + '/focker']) if not zfs_exists(poolname + '/focker/images'):