Skip to content

A free open source IT asset/license management system

Fixed env permission

snipe33ba0b010ce5
diff --git a/snipeit.sh b/snipeit.sh
index 5897d9535b..f987932aa6 100755
--- a/snipeit.sh
+++ b/snipeit.sh
@@ -267,6 +267,7 @@ install_snipeit () {
done
chown -R "$APP_USER":"$apache_group" "$APP_PATH"
+ chmod 640 "$APP_PATH/.env"
echo "* Running composer."
# We specify the path to composer because CentOS lacks /usr/local/bin in $PATH when using sudo