diff options
| author | makefu <github@syntax-fehler.de> | 2014-03-21 23:47:03 +0100 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2014-03-22 00:06:54 +0100 | 
| commit | aa8ca43e7bb2aef9134b227c24c473eda0615a4e (patch) | |
| tree | 26eada2aad9dacd1544c27faf73577151d264194 | |
| parent | dd8568b80f117a22ebf0506f8e9adf0d980105a1 (diff) | |
filehooker:lib/filehooker chown shares after mount
| -rw-r--r-- | Reaktor/etc/systemd/system/Reaktor@.service | 1 | ||||
| -rw-r--r-- | filehooker/root-image/krebs/lib/filehooker | 1 | 
2 files changed, 2 insertions, 0 deletions
| diff --git a/Reaktor/etc/systemd/system/Reaktor@.service b/Reaktor/etc/systemd/system/Reaktor@.service index ad2a9d91..565368b3 100644 --- a/Reaktor/etc/systemd/system/Reaktor@.service +++ b/Reaktor/etc/systemd/system/Reaktor@.service @@ -8,6 +8,7 @@ Type=normal  User=%i  ExecStart=/krebs/painload/Reaktor/index  Restart=always +RestartSec=3  [Install]  WantedBy=multi-user.target diff --git a/filehooker/root-image/krebs/lib/filehooker b/filehooker/root-image/krebs/lib/filehooker index 71db201a..f6f4c0a7 100644 --- a/filehooker/root-image/krebs/lib/filehooker +++ b/filehooker/root-image/krebs/lib/filehooker @@ -131,6 +131,7 @@ share_all_partitions(){            mkdir -p $mountpoint            umount $mountpoint 2>&1 >/dev/null && info "$mountpoint unmounted" || :            ! mount $disk $mountpoint && error "cannot mount $disk"  && continue +          chown "$ncdc_user" "$mountpoint"            : $((count++))            ncdc_configure_netshare "$mountpoint" "$(basename $mountpoint)"          else | 
