diff options
Diffstat (limited to 'source/n/nfs-utils')
-rw-r--r-- | source/n/nfs-utils/doinst.sh | 3 | ||||
-rwxr-xr-x | source/n/nfs-utils/nfs-utils.SlackBuild | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/source/n/nfs-utils/doinst.sh b/source/n/nfs-utils/doinst.sh index 911a88cc..59acadcb 100644 --- a/source/n/nfs-utils/doinst.sh +++ b/source/n/nfs-utils/doinst.sh @@ -14,7 +14,8 @@ config var/lib/nfs/etab.new config var/lib/nfs/rmtab.new config var/lib/nfs/state.new rm -f var/lib/nfs/*.new -chown -R rpc:rpc var/lib/nfs +# No, no, no. +#chown -R rpc:rpc var/lib/nfs if [ -x etc/rc.d/rc.nfsd ]; then chmod 755 etc/rc.d/rc.nfsd.new else diff --git a/source/n/nfs-utils/nfs-utils.SlackBuild b/source/n/nfs-utils/nfs-utils.SlackBuild index 77574085..ab4ffebc 100755 --- a/source/n/nfs-utils/nfs-utils.SlackBuild +++ b/source/n/nfs-utils/nfs-utils.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=nfs-utils VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -158,6 +158,11 @@ mkdir -p ${PKG}${NFSV4RECOVERYDIR} # Chown /var/lib/nfs so that rpc.statd runs as rpc:rpc: chown -R rpc:rpc $PKG/var/lib/nfs +# Add database directory for nfsdcltrack: +mkdir -p $PKG/var/lib/nfs/nfsdcltrack +chown root:rpc $PKG/var/lib/nfs/nfsdcltrack +chmod 775 $PKG/var/lib/nfs/nfsdcltrack + # Create log directory: mkdir -p $PKG/var/log/nfsd |