From c00bc98755c5bb0d83c4c3e291c5eefa522da69a Mon Sep 17 00:00:00 2001 From: Roland Date: Sat, 15 Jan 2022 20:00:36 -0700 Subject: [PATCH] Fixing ownership of mount directory. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index b30e7173..260ecd6b 100755 --- a/install.sh +++ b/install.sh @@ -94,6 +94,7 @@ cp /opt/wrolpi/50x.html /var/www/50x.html # Create the media directory. This should be mounted by the maintainer. [ -d /media/wrolpi ] || mkdir /media/wrolpi +chown -R wrolpi:wrolpi /media/wrolpi # Create the WROLPi user grep wrolpi /etc/passwd || useradd -d /opt/wrolpi wrolpi -s "$(command -v bash)"