1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntuでfirefoxが起動しない

Posted at

要約

Ubuntuでhomeディレクトリが変なところに作られてると,firefoxやopen-syobon-actionといったsnapで入るアプリケーションが動かないことがある.

username@hostname:~$ firefox
cannot create user data directory: /XXX/YYY/username/snap/firefox/1234: Permission denied

以下のコマンドを実行すれば良い.(/XXX/YYYの部分は↑に合わせて適宜入れ替える)

$ sudo snap set system homedirs=/XXX/YYY

調査したこと

  • Permission denied なのでchownchmodなどを試したが,どうもうまくいかなかった.
  • snap 2.60.2 から 出るようになったエラーらしい(出典
  • 解決策はここに載ってた
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?