summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-21 23:47:03 +0100
committermakefu <github@syntax-fehler.de>2014-03-22 00:06:54 +0100
commitaa8ca43e7bb2aef9134b227c24c473eda0615a4e (patch)
tree26eada2aad9dacd1544c27faf73577151d264194 /filehooker/root-image
parentdd8568b80f117a22ebf0506f8e9adf0d980105a1 (diff)
filehooker:lib/filehooker chown shares after mount
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