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

按照指引,用普通用户 clone 了仓库,但是中途权限被破坏了 #2

Open
flw-cn opened this issue Jul 2, 2020 · 1 comment

Comments

@flw-cn
Copy link
Contributor

flw-cn commented Jul 2, 2020

操作指引中有一步需要用 root 身份运行,运行之后权限就变了,所以后续的 pull 都只能用 root 进行。

@Dieken
Copy link
Owner

Dieken commented Jul 2, 2020

复现不了,可能是在切换到 root 后执行了 git status/pull 操作,导致把 .git/index, .git/objects/xxx 变成 root 账户的文件了,之后切换到普通用户执行 git 就会失败。

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

2 participants