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

[tor-commits] [tor-browser-spec/master] Fix MAR update notification directory permissions.



commit ad4972748038d9ff91c4b0d0d60ecb0d056367e8
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Tue Mar 31 22:46:27 2015 -0700

    Fix MAR update notification directory permissions.
---
 processes/ReleaseProcess |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/processes/ReleaseProcess b/processes/ReleaseProcess
index bde1a7c..f742047 100644
--- a/processes/ReleaseProcess
+++ b/processes/ReleaseProcess
@@ -115,9 +115,7 @@
    torsocks git push origin master:master
    cd ..
 
-
 #. Create blog post from changelog
-#  XXX: Template?
    # See https://blog.torproject.org/blog/tor-browser-352-released for now
    # Don't forget to link to Mozilla's security advisories if this is a security
    # update, or Nadim will yell at you.
@@ -128,10 +126,10 @@
    # responses!
    make update_responses # (or update_responses-alpha, update_responses-beta)
    cd ../tools/update-responses
-   chmod 644 htdocs/$TORBROWSER_UPDATE_CHANNEL/*
-   chmod 644 htdocs/$TORBROWSER_UPDATE_CHANNEL/.htaccess
-   chmod 755 htdocs/$TORBROWSER_UPDATE_CHANNEL/
-   torsocks rsync -av htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/dist-master.torproject.org/htdocs/torbrowser/update_2/
+   chmod 664 htdocs/$TORBROWSER_UPDATE_CHANNEL/*
+   chmod 664 htdocs/$TORBROWSER_UPDATE_CHANNEL/.htaccess
+   chmod 775 htdocs/$TORBROWSER_UPDATE_CHANNEL/
+   torsocks rsync -avP htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/dist-master.torproject.org/htdocs/torbrowser/update_2/
    # Finally, remove old version as we point the update channel at the new version.
    # XXX: CAREFUL! $OLD_TOR_BROWSER_VERSION must be set!
    torsocks ssh staticiforme.torproject.org "rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/$OLD_TORBROWSER_VERSION"

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