From: Jackie Huang <jackie.hu...@windriver.com> For security policy, change the group of running rpc.stdtd to rpcuser, just like Radhat does.
Signed-off-by: Jackie Huang <jackie.hu...@windriver.com> --- .../nfs-utils/nfs-utils/nfscommon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon index c949b96..65fdd1d 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon @@ -36,7 +36,7 @@ create_directories(){ umask 077 mkdir -p rpc_pipefs mkdir -p sm sm.bak statd - chown rpcuser sm sm.bak statd + chown rpcuser:rpcuser sm sm.bak statd test -w statd/state || { rm -f statd/state :>statd/state @@ -50,7 +50,7 @@ create_directories(){ } done ) - chown rpcuser "$NFS_STATEDIR" + chown rpcuser:rpcuser "$NFS_STATEDIR" echo done } -- 1.7.9.5 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core