1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Fix: Add missing file argument to setfacl

This commit is contained in:
^x3ro 2024-08-14 00:56:32 +02:00
parent 1c8a1ba2c8
commit aae9736b43

View file

@ -30,7 +30,7 @@ ynh_secure_remove --file="/etc/cron.d/$app"
for i in $(ls /home); do
# Clean ACL in every directories in /home, except those which start with 'yunohost.'
[[ ! $i == yunohost.* ]] \
&& setfacl --remove g:$app 2>&1
&& setfacl --remove g:$app -- "$i" 2>&1
done
#=================================================