Typo: forgot target in chmod
Co-authored-by: yalh76 <yalh@yahoo.com>
This commit is contained in:
parent
6deb6f1f14
commit
b1a9e78466
2 changed files with 2 additions and 2 deletions
|
@ -260,7 +260,7 @@ ynh_add_config --template="some_config_file" --destination="$final_path/some_con
|
|||
# FIXME: this should be handled by the core in the future
|
||||
# You may need to use chmod 600 instead of 400,
|
||||
# for example if the app is expected to be able to modify its own config
|
||||
chmod 400
|
||||
chmod 400 "$final_path/some_config_file"
|
||||
chown $app:$app "$final_path/some_config_file"
|
||||
|
||||
### For more complex cases where you want to replace stuff using regexes,
|
||||
|
|
|
@ -183,7 +183,7 @@ ynh_add_config --template="some_config_file" --destination="$final_path/some_con
|
|||
# FIXME: this should be handled by the core in the future
|
||||
# You may need to use chmod 600 instead of 400,
|
||||
# for example if the app is expected to be able to modify its own config
|
||||
chmod 400
|
||||
chmod 400 "$final_path/some_config_file"
|
||||
chown $app:$app "$final_path/some_config_file"
|
||||
|
||||
### For more complex cases where you want to replace stuff using regexes,
|
||||
|
|
Loading…
Reference in a new issue