]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
nfs-utils: change owner/group of directories in do_install ChenQi/nfs-utils-rpcuser
authorChen Qi <Qi.Chen@windriver.com>
Fri, 7 Nov 2014 05:25:14 +0000 (00:25 -0500)
committerChen Qi <Qi.Chen@windriver.com>
Fri, 7 Nov 2014 08:40:55 +0000 (16:40 +0800)
commit41d6a35dac417bcca956d3d1e1959d01fd2729ea
treebf2152b81a98f55918173dc115d810573283530c
parentd7a277b35bcc67050046c76fb70412101679a545
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>
meta/recipes-connectivity/nfs-utils/nfs-utils/nfscommon
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.0.bb