You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /var/www/roundcube/bin
./deluser.sh --host=front '[email protected]'
Observed behaviour
[05-Jul-2023 12:15:31 Europe/Berlin] PHP Fatal error: [snuffleupagus][0.0.0.0][readonly_exec][drop] Attempted execution of a writable file (/var/www/roundcube/bin/deluser.sh) in /var/www/roundcube/bin/deluser.sh on line 22
Environment & Version
Environment
Version
2.0.16
Description
Cannot delete users in kubernetes env using the purge_user.sh (for docker-compose usage) from https://github.com/Mailu/Mailu/blob/master/scripts/purge_user.sh as a basis.
I managed to remove user from mailu admin pod by exec-ing into the pod and running flask user-delete:
kubectl exec -it -n mailu $mailu-admin-pod-name -- bash
flask mailu user-delete -r [email protected]
But was not able to run the in the webmail pod the the /var/www/roundcube/bin/deluser.sh script
Replication Steps
Exec into the webmail pod
kubectl exec -it -n mailu $mailu-webmail-pod-name -- bash
cd /var/www/roundcube/bin
./deluser.sh --host=front '[email protected]'
Observed behaviour
[05-Jul-2023 12:15:31 Europe/Berlin] PHP Fatal error: [snuffleupagus][0.0.0.0][readonly_exec][drop] Attempted execution of a writable file (/var/www/roundcube/bin/deluser.sh) in /var/www/roundcube/bin/deluser.sh on line 22
Expected behaviour
Delete the user
Already tried this solution (Mailu/Mailu#2836) and did not work
The text was updated successfully, but these errors were encountered: