1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/roundcube_ynh.git synced 2024-09-03 20:16:28 +02:00
This commit is contained in:
ericgaspar 2021-05-08 10:03:08 +02:00
parent 83049d86ac
commit b8d4f74090
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 6 deletions

View file

@ -220,8 +220,7 @@ ynh_store_file_checksum --file="$final_path/config/config.inc.php"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R root:$app "$final_path" chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
mkdir -p "$final_path/plugins/enigma/home" mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home} chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}

View file

@ -68,8 +68,7 @@ ynh_restore_file --origin_path="$final_path"
#================================================= #=================================================
# Restore permissions on app files # Restore permissions on app files
chown -R root:$app "$final_path" chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
mkdir -p "$final_path/plugins/enigma/home" mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home} chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}

View file

@ -277,8 +277,7 @@ fi
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R root:$app "$final_path" chown -R root: "$final_path"
chmod -R o-rwx "$final_path"
mkdir -p "$final_path/plugins/enigma/home" mkdir -p "$final_path/plugins/enigma/home"
chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home} chown -R $app: "$final_path/"{temp,logs,plugins/enigma/home}