mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix removing ACL permissions on uninstall
According to `man setfacl`, for the `--remove` option "[o]nly ACL entries without the perms field are accepted as parameters".
This commit is contained in:
parent
a6bab72a87
commit
1c8a1ba2c8
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ ynh_secure_remove --file="/etc/cron.d/$app"
|
||||||
for i in $(ls /home); do
|
for i in $(ls /home); do
|
||||||
# Clean ACL in every directories in /home, except those which start with 'yunohost.'
|
# Clean ACL in every directories in /home, except those which start with 'yunohost.'
|
||||||
[[ ! $i == yunohost.* ]] \
|
[[ ! $i == yunohost.* ]] \
|
||||||
&& setfacl --remove g:$app:rwx 2>&1
|
&& setfacl --remove g:$app 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue