mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Add restictions
This commit is contained in:
parent
fc3cc21569
commit
d68f41c03e
3 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,7 @@ ynh_add_systemd_config
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -68,6 +68,7 @@ ynh_system_user_create --username=$app
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -155,6 +155,7 @@ ynh_add_systemd_config
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chmod 0755 $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
|
|
Loading…
Reference in a new issue