mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: wrmbgl
This commit is contained in:
parent
28603da4f1
commit
d47c87e57d
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ _ynh_apply_default_permissions() {
|
|||
if [ "$target" == "${install_dir:-}" ]
|
||||
then
|
||||
# Read the group from the install_dir manifest resource
|
||||
local group="$(ynh_read_manifest '.resources.install_dir.group' | sed 's/null//g' | sed "s/__APP__/$app/g" | cut -f1 -d:)"
|
||||
local group="$(ynh_read_manifest 'resources.install_dir.group' | sed 's/null//g' | sed "s/__APP__/$app/g" | cut -f1 -d:)"
|
||||
if [[ -z "$group" ]]
|
||||
then
|
||||
# We set the group to www-data for webapps that do serve static assets, which therefore need to be readable by nginx ...
|
||||
|
|
Loading…
Add table
Reference in a new issue