summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image')
-rw-r--r--filehooker/root-image/krebs/lib/filehooker1
1 files changed, 1 insertions, 0 deletions
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