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

Added a $ sign front of sudo chown command! #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added a $ sign front of sudo chown command! #42

wants to merge 1 commit into from

Conversation

Zamy97
Copy link

@Zamy97 Zamy97 commented May 14, 2020

as a beginner in I was confused as to how this worked and first few times the sudo chown didn't work until I added $ sign front of staff. It'd be helpful to those who's going to come after me and be a mac user.
sudo chown -R $USER:$staff . \ for mac user

as a beginner in I was confused as to how this worked and first few times the sudo chown didn't work until I added $ sign front of staff.
@gregurco
Copy link
Owner

Hello @Zamy97
Thank you for this report. You are right, there are cases when group "staff" does not exist, but I'm not sure about env variable "$staff". I'm not sure it exists always.

Could you try to execute this command (in your project folder) without group mention:

sudo chown -R $(whoami) .

Does it work?

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

Successfully merging this pull request may close these issues.

None yet

2 participants