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?

コンテナ内で作成したファイル移動時のエラー対処法

Posted at

ホストがUbuntuで、コンテナ内でバウンドマウント先に生成されたファイルを書き換え、移動しようとした際にError: EACCES: permission denied, ...のようなエラーが出た際の対処法。

ホスト:Ubuntu
作業ディレクトリ:workspace/hogehoge

workspaceディレクトリに移動したあと、sudo chown -R $USER:$USER hogehogeを実行する。

現在のディレクトリ全体に適応する場合は、sudo chown -R $USER:$USER .とする。

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?