setfacl broke my ubuntu installation

I'm not 100% sure but I think I ran setfacl with the wrong argument and changed acl stuff for everything under(non recursively?) '/' instead of './' , immediately half the applications I had running crashed and after a restart I can't login.

When I try to login the following flashes for a split second and then it goes back to the login screen, when I try to login from terminal it's the same thing but without the error message.

enter image description here

I don't know much about acl or what to do, I tried restoring from a backup with timeshift (I set it to backup everything) but it didn't effect the problem.

the command might have been:

sudo setfacl -m u:username:r

or

sudo setfacl -m u:username:r /

but I'm not sure.


Turns out all I had to do was remove the acl entry for my uid on the root directory with:

setfacl -x user:<username> <base directory>

After doing this from another OS I was able to boot and login no problem.

Apparently it's good habit to never type ./ for the current dir because . is perfectly valid and reduces these types of mistakes.