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!
Kaynağa Gözat

chmod /focker to 0600

master
Stanislaw Adaszewski 4 yıl önce
ebeveyn
işleme
d6c7f3841c
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet