Hallo, I think I have the same issue.
Our NIS cluster works uses autofs, and in the nodes running ubuntu 22, snaps crash at start giving the error
`cannot open path of the current working directory: Permission denied`
Some users reported getting
`cannot create user data directory: /home/<username>/snap/firefox/1635: Stale file handle`
although I am not sure what they did.
At the moment our workaround is to run
`sudo systemctl restart snapd.service`
after logging in the first time. It seems the snaps do find the homes if snapd is started after autofs is already up and running. But for some weird reason, if a user logs out, and logs in again, snaps still work, but if ANOTHER user logs in, the new user has to restart snapd!
Hallo, I think I have the same issue. username> /snap/firefox/ 1635: Stale file handle`
Our NIS cluster works uses autofs, and in the nodes running ubuntu 22, snaps crash at start giving the error
`cannot open path of the current working directory: Permission denied`
Some users reported getting
`cannot create user data directory: /home/<
although I am not sure what they did.
At the moment our workaround is to run
`sudo systemctl restart snapd.service`
after logging in the first time. It seems the snaps do find the homes if snapd is started after autofs is already up and running. But for some weird reason, if a user logs out, and logs in again, snaps still work, but if ANOTHER user logs in, the new user has to restart snapd!