blob: 8bd7741a49be0bcca537989349e45d9477995f20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- usr.sbin/etcupdate/etcupdate.sh.orig
+++ usr.sbin/etcupdate/etcupdate.sh
@@ -1611,6 +1611,9 @@
# Initialize conflicts and warnings handling.
rm -f $WARNINGS
mkdir -p $CONFLICTS
+ if ! chmod 0700 ${CONFLICTS}; then
+ panic "Unable to set permissions on conflicts directory"
+ fi
# Ignore removed files for the pre-world case. A pre-world
# update uses a stripped-down tree.
|