Skip to content

Commit

Permalink
Adding instructions on how to correct .git permission problems (#149)
Browse files Browse the repository at this point in the history
* Adding instructions on how to correct .git permission problems

* Update troubleshooting.md
  • Loading branch information
dougtakeuti authored and scottleibrand committed May 5, 2016
1 parent 31ba65a commit e3b55ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/Resources/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ OpenAPS uses git as the logging mechanism, so it commits report changes on each

To fix a corrupted git repository you can run `oref0-fix-git-corruption.sh`, it will try to fix the repository, and in case when repository is definitly broken it copies the remainings in a safe place (`tmp`) and initializes a new git repo.

Warning: do not run any openaps commands with sudo in front of it `sudo openaps`. If you do, your .git permissions will get messed up. Sudo should only be used when a command needs root permissions, and openaps does not need that.
Warning: do not run any openaps commands with sudo in front of it `sudo openaps`. If you do, your .git permissions will get messed up. Sudo should only be used when a command needs root permissions, and openaps does not need that. Such permission problems can be corrected by running `sudo chown -R pi.pi .git` in the openaps directory. If your are using an Intel Edison, run `sudo chown -R edison.users .git`.

### Environment variables

Expand Down

0 comments on commit e3b55ae

Please sign in to comment.