1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00

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
# 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,

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
# 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,