summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-09-09 13:42:40 +0000
committerStuart Herbert <stuart@gentoo.org>2003-09-09 13:42:40 +0000
commite2302e05a5cf2da9fcd6c48a5d989da8c94c7276 (patch)
tree17599b234d83094a8b14cc8849349fbdca1fe290 /eclass
parentMarked as stable (diff)
downloadgentoo-2-e2302e05a5cf2da9fcd6c48a5d989da8c94c7276.tar.gz
gentoo-2-e2302e05a5cf2da9fcd6c48a5d989da8c94c7276.tar.bz2
gentoo-2-e2302e05a5cf2da9fcd6c48a5d989da8c94c7276.zip
It helps if I put the chown in the right place
Diffstat (limited to 'eclass')
-rw-r--r--eclass/nxserver.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/nxserver.eclass b/eclass/nxserver.eclass
index 38dd397a11c0..cea04647fec8 100644
--- a/eclass/nxserver.eclass
+++ b/eclass/nxserver.eclass
@@ -81,7 +81,6 @@ nxserver_pkg_postinst() {
einfo "Changing permissions for files under /usr/NX"
chown nx.root /usr/NX/etc/passwd
- chown nx.root /usr/NX/etc/users.id_dsa
chown -R nx.root /usr/NX/nxhome
chown -R nx.root /usr/NX/var/sessions
@@ -89,6 +88,7 @@ nxserver_pkg_postinst() {
if [ ! -f /usr/NX/etc/users.id_dsa ]; then
ssh-keygen -q -t dsa -N '' -f /usr/NX/etc/users.id_dsa
fi
+ chown nx.root /usr/NX/etc/users.id_dsa
cp -f /usr/NX/nxhome/.ssh/server.id_dsa.pub.key /usr/NX/nxhome/.ssh/authorized_keys2
if [ ! -f /usr/NX/var/broadcast.txt ]; then