1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description:
`rsync --chmod` does nothing without the --perms flag
Author: Hans-Christoph Steiner <hans@eds.org>
Forwarded: yes
--- a/fdroidserver/server.py
+++ b/fdroidserver/server.py
@@ -143,7 +143,7 @@ def update_serverwebroot(serverwebroot,
def _local_sync(fromdir, todir):
- rsyncargs = ['rsync', '--recursive', '--links', '--times',
+ rsyncargs = ['rsync', '--recursive', '--links', '--times', '--perms',
'--one-file-system', '--delete', '--chmod=Da+rx,Fa-x,a+r,u+w']
# use stricter rsync checking on all files since people using offline mode
# are already prioritizing security above ease and speed
|