1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix permissions

This commit is contained in:
Josué Tille 2024-09-02 21:29:44 +02:00
parent 111c66c704
commit 21253c0bca
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -72,9 +72,9 @@ install_source() {
set_permission() { set_permission() {
# Set permission # Set permission
chown "$app:$app" -R "$install_dir" chown "$app:$app" -R "$install_dir"
chmod u+rw,o= -R "$install_dir" chmod u+rwX,g+rX-w,o= -R "$install_dir"
chown "$app:$app" -R "$data_dir" chown "$app:$app" -R "$data_dir"
chmod u+rw,o= -R "$data_dir" chmod u+rwX,g+rX-w,o= -R "$data_dir"
chown "$app:$app" -R /var/log/"$app" chown "$app:$app" -R /var/log/"$app"
chmod u=rwX,g=rX,o= -R /var/log/"$app" chmod u=rwX,g=rX,o= -R /var/log/"$app"
# Criticals files # Criticals files