From 2f3e50cfc0a2326cff025c9b24b5cdd3e2d634e4 Mon Sep 17 00:00:00 2001 From: parmentelat Date: Wed, 9 Jan 2019 10:26:58 +0100 Subject: [PATCH] tweak chmod on the build dir when web-publishing --- lbuild-nightly.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.43.0