From: parmentelat Date: Wed, 9 Jan 2019 09:26:58 +0000 (+0100) Subject: tweak chmod on the build dir when web-publishing X-Git-Tag: last-complete-build-f29~33 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=2f3e50cfc0a2326cff025c9b24b5cdd3e2d634e4 tweak chmod on the build dir when web-publishing --- diff --git a/lbuild-nightly.sh b/lbuild-nightly.sh index c075cdec..9f21c360 100755 --- a/lbuild-nightly.sh +++ b/lbuild-nightly.sh @@ -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