Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windowsでファイルとディレクトリの所有者がrootになっているとrails newできない #36

Open
okuramasafumi opened this issue Oct 5, 2019 · 0 comments

Comments

@okuramasafumi
Copy link

全てのファイル・ディレクトリの所有者が root:root になっている人がいました。すると、

  • その状態で bin ディレクトリへの書き込みが失敗する(FileUtilschmod_r が失敗する)
  • sudo chown しても所有者の変更ができない

状態になってしまいます。
解決策は、

あとは通常通り進めることができます。
不思議なのはなぜ所有者が root:root になっているのか。これは今まで一人にしか起きたことがないので多分環境の問題。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant