mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-24 05:10:23 +01:00
When uploading docs, use rsync -p to set permissions
It turns out that rsync --chmod means "pretend the source files had already had this chmod operation applied to them", and not "chmod the destination files" like you'd expect. As a result, the -p (--perms) option is also needed, so that rsync will "preserve" the modified permissions. Otherwise, the docs will not be group-writeable as intended, and only the person who made the previous upload will be able to upload them next time. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36130 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
This commit is contained in:
parent
4a0e7d29a4
commit
59c6663293
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ SPECIFICATION_PATH = /srv/specifications.freedesktop.org/www/dbus/1.0
|
|||
|
||||
maintainer-upload-docs: dbus-docs.tar.gz dbus-docs
|
||||
scp dbus-docs.tar.gz $(DOC_SERVER):$(DOC_WWW_DIR)
|
||||
rsync -rvzP --chmod=Dg+s,ug+rwX,o=rX \
|
||||
rsync -rpvzP --chmod=Dg+s,ug+rwX,o=rX \
|
||||
dbus-docs/ $(DOC_SERVER):$(DOC_WWW_DIR)/doc/
|
||||
scp -p $(DTDS) $(SPECIFICATION_SERVER):$(SPECIFICATION_PATH)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue