svn commit: r255458 - user/cperciva/freebsd-update-mirror
Colin Percival
cperciva at FreeBSD.org
Tue Sep 10 21:09:21 UTC 2013
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
More information about the svn-src-user
mailing list