From 527c9b6e43e299a4d64fadeaadf674d11d9a35a8 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 14 Sep 2018 15:45:58 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 2 -- init.d/sshd | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.etckeeper b/.etckeeper index e3b3343..1e70ff8 100755 --- a/.etckeeper +++ b/.etckeeper @@ -7,7 +7,6 @@ mkdir -p './puppetlabs/puppet/ssl/certificate_requests' mkdir -p './puppetlabs/puppet/ssl/private' mkdir -p './security/limits.d' mkdir -p './security/namespace.d' -mkdir -p './systemtap' maybe chmod 0755 '.' maybe chmod 0700 '.etckeeper' maybe chmod 0644 '.gitignore' @@ -2010,7 +2009,6 @@ maybe chmod 0644 'systemd/timesyncd.conf' maybe chmod 0755 'systemd/user' maybe chmod 0644 'systemd/user.conf' maybe chmod 0644 'systemd/user/.keep_sys-apps_systemd-0' -maybe chmod 0755 'systemtap' maybe chmod 0755 'terminfo' maybe chmod 0755 'terminfo/a' maybe chmod 0644 'terminfo/a/ansi' diff --git a/init.d/sshd b/init.d/sshd index 044cbe7..c5df469 100755 --- a/init.d/sshd +++ b/init.d/sshd @@ -47,7 +47,7 @@ depend() { } checkconfig() { - checkpath --directory "${RC_PREFIX%/}/var/empty" + checkpath --mode 0755 --directory "${RC_PREFIX%/}/var/empty" if [ ! -e "${SSHD_CONFIG}" ] ; then eerror "You need an ${SSHD_CONFIG} file to run sshd" -- 2.39.5