nfs-utils: force rpc.statd to run as user nobody

This commit is contained in:
Juergen Daubert 2012-01-06 15:54:21 +01:00
parent b9b510f559
commit 5b8198b48e
2 changed files with 5 additions and 2 deletions

View File

@ -55,7 +55,7 @@ drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/start-statd
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/nfs/
drwxr-xr-x nobody/root var/lib/nfs/
-rw-r--r-- root/root var/lib/nfs/etab (EMPTY)
-rw-r--r-- root/root var/lib/nfs/rmtab (EMPTY)
drwxr-xr-x root/root var/lib/nfs/rpc_pipefs/

View File

@ -5,7 +5,7 @@
name=nfs-utils
version=1.2.5
release=1
release=2
source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
exports idmapd.conf nfs nfsserver)
@ -28,4 +28,7 @@ build () {
install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
install -d $PKG/etc/exports.d
# force rpc.statd to run as user nobody
chown nobody $PKG/var/lib/nfs
}