]> code.ossystems Code Review - openembedded-core.git/commit
nfs-utils: change owner/group of directories in do_install
authorChen Qi <Qi.Chen@windriver.com>
Fri, 7 Nov 2014 08:47:19 +0000 (16:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Nov 2014 10:17:05 +0000 (10:17 +0000)
commit8c27a1e25ae42a435ab7d290cab40f94f9286243
treece2efdd37e151b718677a05a1d595831078da7c0
parent82ac2a29126dc38d23c278b82d129d73b17000b7
nfs-utils: change owner/group of directories in do_install

Previously, the owners/groups of directories like /var/lib/nfs/statd
are changed in the init script, /etc/init.d/nfscommon. This is actually
a workaround. We need to change them at do_install time.

This patch fixes the above problem by changing owners/groups at do_install
time.

Besides, configuration option '--with-staduser=nobody' is changed to be
'--with-statduser=rpcuser'. And /var/lib/nfs/statd/state is modified to have
permission 0644, just like other distros (ubuntu, fedora, etc.) do.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb