From aa8ca43e7bb2aef9134b227c24c473eda0615a4e Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 21 Mar 2014 23:47:03 +0100 Subject: filehooker:lib/filehooker chown shares after mount --- filehooker/root-image/krebs/lib/filehooker | 1 + 1 file changed, 1 insertion(+) (limited to 'filehooker') 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 -- cgit v1.2.3