Mysterious. Please kindly help to debug this.
- This might be fixed in proposed-updates / testers repository.
- If not…
Create log.
touch /home/user/kdesudo.log
chmod o+r /home/user/kdesudo.log
chmod g+r /home/user/kdesudo.log
Move the real kdesudo elsewhere.
sudo mv /usr/bin/kdesudo /usr/bin/kdesudo-real
Create the wrapper.
kdesudo kwrite /usr/bin/kdesudo
Paste.
#!/bin/bash
echo "$(whoami) $@" > /home/user/kdesudo.log
kdesudo-real "$@"
Save.