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)"