diff options
-rw-r--r-- | .README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -18,15 +18,17 @@ of files `git clean` will delete by adding the `--dry-run` parameter. The deployment should preferably take place right after you install Cygwin. `git` doesn't preserve file permissions. -After the deployment, anyone will be able to read any of the deployed -"dotfiles". +After the deployment, anyone will be able to read any of the files in the +repository. To adjust the permissions so that only you can read the files, `source` -`.bashrc` (`bash` does this automatically) and execute +`.bashrc` (`bash` does this automatically) and execute: adjust_dotfiles_permissions This also makes sure the directories in the repository are accessible only by yourself (including the `.git` directory). -Additionally, file permissions are reset each time `git` writes to a file. + +The important thing to note is that the permissions are reset each time `git` +writes to a file. It is thus necessary to execute the line above after each invokation of `git pull`, `git checkout`, etc. |