From 93c563a47710f6a6667c735f1a2dd9582e771ee0 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Mon, 12 Oct 2015 15:13:19 +0200 Subject: Revert "nfs-utils: change file ownership for statd" This reverts commit 87d244c925c37d3408874649a2092989c95acc24. --- meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb index 0fdfe3fa2a..7c3f21874f 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb @@ -57,7 +57,7 @@ SYSTEMD_SERVICE_${PN} = "nfs-server.service nfs-mountd.service" SYSTEMD_SERVICE_${PN}-client = "nfs-statd.service" # --enable-uuid is need for cross-compiling -EXTRA_OECONF = "--with-statduser=rpcuser \ +EXTRA_OECONF = "--with-statduser=nobody \ --enable-mountconfig \ --enable-libmount-mount \ --disable-nfsv41 \ @@ -100,9 +100,8 @@ do_compile_prepend() { } do_install_append () { - chown -R rpcuser:rpcuser ${D}${localstatedir}/lib/nfs/statd - install -d ${D}${sysconfdir}/init.d + install -d ${D}${localstatedir}/lib/nfs/statd install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver install -m 0755 ${WORKDIR}/nfscommon ${D}${sysconfdir}/init.d/nfscommon -- cgit 1.2.3-korg