From 85b60b7bd53803199c424d59c66b30950caef97e Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Tue, 13 Apr 2021 19:49:46 +0200 Subject: [PATCH] Removed sudo command --- zmb-standalone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zmb-standalone.sh b/zmb-standalone.sh index 3e553f9..cd79817 100644 --- a/zmb-standalone.sh +++ b/zmb-standalone.sh @@ -36,7 +36,7 @@ cat << EOF >> /etc/samba/smb.conf shadow: delimiter = -20 EOF -sudo chmod -R 770 /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE -sudo chown -R '$ZMB_ADMIN_USER':root /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE +chmod -R 770 /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE +chown -R '$ZMB_ADMIN_USER':root /$LXC_SHAREFS_MOUNTPOINT/$ZMB_SHARE systemctl restart smbd nmbd