mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
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
This commit is contained in:
parent
1d6a98a40e
commit
6be7bedd06
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue