I've created a system user using this command
sudo adduser --system --home=/opt/odoo --group odooand when I tried to remove it later using this command userdel -r odoo I got this error
userdel: error removing directory /opt/odoowhen I tried to remove it manually sudo rm -rvf /opt/odoo I got this
rm: cannot remove ‘/opt/odoo/.gvfs’: Device or resource busy 1 Answer
You can try below command then try to remove user:
sudo umount /run/user/root/gvfs 2