chiark / gitweb /
update local_copy_dir rsync to handle FAT and filesystems with perms
authorHans-Christoph Steiner <hans@eds.org>
Thu, 3 Jul 2014 01:03:26 +0000 (21:03 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 14 Jul 2014 19:02:20 +0000 (15:02 -0400)
commit35ee4b1bc5d197b58f20cfe8172309bcf8ca74ba
tree01c92970f7f2743a1783a12e8f65b0da2073e5bf
parentf34c842f552b580c033424f9adfedb1a1fb46215
update local_copy_dir rsync to handle FAT and filesystems with perms

With FAT filesystems, the user, group, and permissions will not be at all
preserved.  With file systems like ext4 that have perms, the umask might
not be set to something that makes sense for the public repo files, which
are meant to be published and therefore readible by all.

If need be, it would be easy enough to add a config option for rsync's
chmod string, to address setups that have specific permissions needs.

fixes #23 https://gitlab.com/fdroid/fdroidserver/issues/23
fdroidserver/server.py