[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Add `--chmod ug=rw, D+x --perms` to rsync commands.



commit 6be7bedd0619c31e352823804f141e393dc21901
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Aug 23 22:47:58 2019 -0600

    Add `--chmod ug=rw,D+x --perms` to rsync commands.
    
    This is an attempt to solve mixed-ownership permission issues.
    https://bugs.torproject.org/31496
---
 proxy/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/README.md b/proxy/README.md
index dd7ffb6..538366f 100644
--- a/proxy/README.md
+++ b/proxy/README.md
@@ -50,13 +50,13 @@ npm run build
 Do a "dry run" rsync with `-n` to check that only expected files are being changed. If you don't understand why a file would be updated, you can add the `-i` option to see the reason.
 
 ```
-rsync -n --delete -crv build/ staticiforme:/srv/snowflake.torproject.org/htdocs/
+rsync -n --chmod ug=rw,D+x --perms --delete -crv build/ staticiforme:/srv/snowflake.torproject.org/htdocs/
 ```
 
 If it looks good, then repeat the rsync without `-n`.
 
 ```
-rsync --delete -crv build/ staticiforme:/srv/snowflake.torproject.org/htdocs/
+rsync --chmod ug=rw,D+x --perms --delete -crv build/ staticiforme:/srv/snowflake.torproject.org/htdocs/
 ```
 
 Then run the command to copy the new files to the live web servers:

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits