Date: Tue, 10 Sep 2013 21:09:20 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r255458 - user/cperciva/freebsd-update-mirror Message-ID: <201309102109.r8AL9KZ3008054@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Tue Sep 10 21:09:20 2013 New Revision: 255458 URL: http://svnweb.freebsd.org/changeset/base/255458 Log: Fix my previous commit here: It's the *staging* directory which needs to have world-readable files in it, not our private state directory. [1] While here, don't warn about the directory itself, since we only tar up the contents to send out to the mirrors. [2] Pointy hat to: cperciva [1] Submitted by: des [2] Modified: user/cperciva/freebsd-update-mirror/umirror-package.sh Modified: user/cperciva/freebsd-update-mirror/umirror-package.sh ============================================================================== --- user/cperciva/freebsd-update-mirror/umirror-package.sh Tue Sep 10 20:56:01 2013 (r255457) +++ user/cperciva/freebsd-update-mirror/umirror-package.sh Tue Sep 10 21:09:20 2013 (r255458) @@ -25,9 +25,9 @@ else fi # Check that the files we're publishing have publishable permissions -if find "${PRIVDIR}" \! -perm -444 | grep -q .; then +if find "${STAGEDIR}" \! -type f -perm -444 | grep -q .; then echo "Files to be published have bad permissions:" - find "${PRIVDIR}" \! -perm -444 + find "${STAGEDIR}" \! -type f -perm -444 echo echo "You should fix this before publishing them." exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309102109.r8AL9KZ3008054>