IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

chmod /focker to 0600

master
parent
commit
d6c7f3841c
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      example/gitea-custom/files/body_inner_pre.tmpl
  2. +1
    -0
      focker/zfs.py

+ 1
- 1
example/gitea-custom/files/body_inner_pre.tmpl View File

@@ -5,6 +5,6 @@
are only meant to report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
<a href="https://adared.ch" target="_blank">ADARED</a>
projects.
projects. Thank you for your understanding!
</div>
{{end}}

+ 1
- 0
focker/zfs.py View File

@@ -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'):


Loading…
Cancel
Save