summaryrefslogtreecommitdiff
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
commit10dce3f98b28df506a22fadab313fa18070e8c90 (patch)
tree18c218cb5fce6376db1eb60742913ea73b57a7c9 /eclass/nxserver.eclass
parentMarked as stable (diff)
downloadhistorical-10dce3f98b28df506a22fadab313fa18070e8c90.tar.gz
historical-10dce3f98b28df506a22fadab313fa18070e8c90.tar.bz2
historical-10dce3f98b28df506a22fadab313fa18070e8c90.zip
It helps if I put the chown in the right place
Diffstat (limited to 'eclass/nxserver.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