From b5b3825ce6df45b16e1f3e15001da213bc8b0a55 Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Thu, 12 Aug 2010 21:02:58 -0700 Subject: unfs-server: new userspace nfs recipe This is a simple userspace NFS server, derived from one which was previously used in openSUSE 10.x. Wind River contributed many of the patches. This package is not intended for target installations, only -native and -nativesdk use. Enabling nativesdk for readline, sqlite3, and pseudo was required, as well as a few new autoconf siteconfig entries. Signed-off-by: Scott Garman --- .../020-undefined-chmod-fix.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/packages/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch (limited to 'meta/packages/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch') diff --git a/meta/packages/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch b/meta/packages/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch new file mode 100644 index 0000000000..0f1108c214 --- /dev/null +++ b/meta/packages/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch @@ -0,0 +1,18 @@ +# Fix a problem with chmod attributes when using no_squash_all +# Patch origin: Wind River + +--- + setattr.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/setattr.c ++++ b/setattr.c +@@ -115,7 +115,7 @@ nfsstat setattr(char *path, sattr *attr, + } + } + +- if (flags & SATTR_CHMOD) { ++ if (flags & SATTR_CHMOD && attr->mode != -1) { + unsigned int mode = attr->mode; + + /* If setuid is not allowed, silently squash them */ -- cgit v1.2.3-54-g00ecf