tweak chmod on the build dir when web-publishing
authorparmentelat <thierry.parmentelat@inria.fr>
Wed, 9 Jan 2019 09:26:58 +0000 (10:26 +0100)
committerparmentelat <thierry.parmentelat@inria.fr>
Wed, 9 Jan 2019 09:26:58 +0000 (10:26 +0100)
lbuild-nightly.sh

index c075cde..9f21c36 100755 (executable)
@@ -767,6 +767,9 @@ function main () {
         # guess if we've been doing any debian-related build
         if [ ! -f $(rootdir $BASE)/etc/debian_version  ] ; then
             webpublish mkdir -p $WEBPATH/$BASE/{RPMS,SRPMS}
+            # after moving to f29, we see this dir created as 700
+            # as remote umask is 077
+            webpublish chmod 755 $WEBPATH/$BASE
             webpublish_rsync $WEBPATH/$BASE/RPMS/ $(rootdir $BASE)/build/RPMS/
             [[ -n "$PUBLISH_SRPMS" ]] && webpublish_rsync $WEBPATH/$BASE/SRPMS/ $(rootdir $BASE)/build/SRPMS/
         else