mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Merge pull request #111 from YunoHost-Apps/testing
[fix] Bad owner for sudoers file
This commit is contained in:
commit
003cf5cf2a
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ chmod u+x "/usr/local/bin/backup-with-$app"
|
||||||
chown $app:$app "/usr/local/bin/backup-with-$app"
|
chown $app:$app "/usr/local/bin/backup-with-$app"
|
||||||
|
|
||||||
ynh_add_config --template="sudoer" --destination="/etc/sudoers.d/$app"
|
ynh_add_config --template="sudoer" --destination="/etc/sudoers.d/$app"
|
||||||
|
chown root:root "/etc/sudoers.d/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue