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

fatal: Could not change back to '/root': Permission denied #39

Open
BarbzYHOOL opened this issue Jun 16, 2018 · 0 comments
Open

fatal: Could not change back to '/root': Permission denied #39

BarbzYHOOL opened this issue Jun 16, 2018 · 0 comments

Comments

@BarbzYHOOL
Copy link
Contributor

BarbzYHOOL commented Jun 16, 2018

I found a bug but I don't really know why it happens.

I logged in as root, so in /root. Then I typed "su my_user" and I tried to "fundle install" but I was greeted with:

fatal: Could not change back to '/root': Permission denied

So I went to ~ and installed fine.

Then, after installation, I did the same thing, I logged in as root, so in /root, Then I typed "su my_user" and error:

find: '.': Permission denied
find: Failed to restore initial working directory: /root: Permission denied

Mind explaining why?

It only happens in /root, not in "/", not in "/etc"

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