summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-01-21 23:18:40 +0100
committerUlrich Müller <ulm@gentoo.org>2015-01-21 23:18:40 +0100
commit65a92db18637a317e412ea186c85016f01129823 (patch)
tree50c78dc97299cd95615743e111873fd15b147f05
parentapp-editors/emacs-vcs: Test new setgid games setup. (diff)
downloademacs-65a92db18637a317e412ea186c85016f01129823.tar.gz
emacs-65a92db18637a317e412ea186c85016f01129823.tar.bz2
emacs-65a92db18637a317e412ea186c85016f01129823.zip
app-emacs/emacs-common-gentoo: Set g+w mode bit for dir and files.
Package-Manager: portage-2.2.15
-rw-r--r--app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
index 48c2eb6..04fb9b7 100644
--- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
+++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999-r1.ebuild
@@ -37,6 +37,7 @@ src_install() {
if use games; then
keepdir /var/games/emacs
fowners root:games /var/games/emacs
+ fperms g+w /var/games/emacs
fi
if use X; then
@@ -107,6 +108,7 @@ pkg_preinst() {
fi
touch "${ED}${f}" || die
chown root:games "${ED}${f}" || die
+ chmod g+w "${ED}${f}" || die
done
fi