Firefox broken after permission changes

fr flag

I had recently changed some permissions of folders within docker to enable logs to be created, however somewhere along the route it seems like I had messed up permissions for /var/lib/snapd/hostfs.

When I try to launch firefox, nothing happens. Trying to open it through the command line prompts /var/lib/snapd/hostfs is not owned by root. All other things I've tried have had no impact and reinstalling ubuntu isn't a viable option.

pl flag
Did you also change it to be 755 permissions? What does `ls -ld /var/lib/snapd/hostfs/` show? Did you also bork permissions elsewhere?
Matthew Bradley avatar
fr flag
It was changed to be 755 I belive. That command returns `drwxr-xr-x 2 root www-data 4096 Dec 1 08:52 /var/lib/snapd/hostfs/`. I initially tried to change `/var/www/` for storage within Laravel, but I believe this is where it went wrong.
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.