Typo: forgot target in chmod

Co-authored-by: yalh76 <yalh@yahoo.com>
This commit is contained in:
Alexandre Aubin 2021-03-17 21:37:29 +01:00 committed by GitHub
parent 6deb6f1f14
commit b1a9e78466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 # FIXME: this should be handled by the core in the future
# You may need to use chmod 600 instead of 400, # 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 # 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" chown $app:$app "$final_path/some_config_file"
### For more complex cases where you want to replace stuff using regexes, ### For more complex cases where you want to replace stuff using regexes,

View File

@ -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 # FIXME: this should be handled by the core in the future
# You may need to use chmod 600 instead of 400, # 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 # 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" chown $app:$app "$final_path/some_config_file"
### For more complex cases where you want to replace stuff using regexes, ### For more complex cases where you want to replace stuff using regexes,