Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115416030
D48576.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D48576.diff
View Options
diff --git a/usr.sbin/etcupdate/etcupdate.sh b/usr.sbin/etcupdate/etcupdate.sh
--- a/usr.sbin/etcupdate/etcupdate.sh
+++ b/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.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 24, 2:11 PM (14 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16031367
Default Alt Text
D48576.diff (470 B)
Attached To
Mode
D48576: etcupdate: Restrict access to the conflicts directory
Attached
Detach File
Event Timeline
Log In to Comment