diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-05-10 00:29:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-05-10 00:29:51 +0300 |
commit | 49e76d0901f5fcef167d7835cf49077cb57c01b2 (patch) | |
tree | addf0d6aae210ccf9b7114290437e162933de689 | |
parent | list_dirs: skip . + absolute paths (diff) | |
download | linux-home-49e76d0901f5fcef167d7835cf49077cb57c01b2.tar.gz linux-home-49e76d0901f5fcef167d7835cf49077cb57c01b2.zip |
README update
-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. |