diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-03-02 20:17:47 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-03-02 20:17:47 +0000 |
commit | 08b46aaaadd5a57e5fd572e3d9607a93df5503eb (patch) | |
tree | 47eaa241223ba7850d93555a2458bfa525510bf8 /sys-apps/baselayout | |
parent | remove old (diff) | |
download | gentoo-2-08b46aaaadd5a57e5fd572e3d9607a93df5503eb.tar.gz gentoo-2-08b46aaaadd5a57e5fd572e3d9607a93df5503eb.tar.bz2 gentoo-2-08b46aaaadd5a57e5fd572e3d9607a93df5503eb.zip |
fix /etc/shadow permissions when building stages
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r-- | sys-apps/baselayout/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/baselayout-2.0.0.ebuild | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog index b0ab0ddd9f30..5eabd98d5f98 100644 --- a/sys-apps/baselayout/ChangeLog +++ b/sys-apps/baselayout/ChangeLog @@ -1,10 +1,13 @@ # ChangeLog for sys-apps/baselayout -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.470 2008/08/19 17:51:19 zmedico Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.471 2009/03/02 20:17:46 hollow Exp $ # See the rc-scripts ChangeLog in subversion for release info: # http://sources.gentoo.org/viewcvs.py/*checkout*/baselayout/trunk/ChangeLog + 02 Mar 2009; Benedikt Böhm <hollow@gentoo.org> baselayout-2.0.0.ebuild: + fix /etc/shadow permissions when building stages + 19 Aug 2008; Zac Medico <zmedico@gentoo.org> baselayout-2.0.0.ebuild: Avoid potential warning messages in the SYMLINK_LIB code which may be triggered when find traverses a directory whose parent has already been diff --git a/sys-apps/baselayout/baselayout-2.0.0.ebuild b/sys-apps/baselayout/baselayout-2.0.0.ebuild index 926409d53a04..a17351fecb32 100644 --- a/sys-apps/baselayout/baselayout-2.0.0.ebuild +++ b/sys-apps/baselayout/baselayout-2.0.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.7 2008/08/19 17:51:19 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.8 2009/03/02 20:17:47 hollow Exp $ inherit multilib @@ -177,6 +177,11 @@ pkg_postinst() { cp -p "${ROOT}usr/share/baselayout/${x}" "${ROOT}"etc done + # fix shadow permissions to not be world-readable + for x in shadow ; do + [ -e "${ROOT}etc/${x}" ] && chmod 0600 "${ROOT}etc/$x" + done + # This is also written in src_install (so it's in CONTENTS), but # write it here so that the new version is immediately in the file # (without waiting for the user to do etc-update) |