NetBSD Problem Report #10845

Received: (qmail 23174 invoked from network); 16 Aug 2000 11:38:42 -0000
Message-Id: <200008161138.e7GBc2d04196@haggis.bluews.com>
Date: Wed, 16 Aug 2000 12:38:02 +0100 (BST)
To: gnats-bugs@gnats.netbsd.org
Subject: Broken NFS permissions checking when -mapall=user is used.
X-Send-Pr-Version: 3.95

>Number:         10845
>Category:       kern
>Synopsis:       Broken NFS permissions checking when -mapall=user is used.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 16 11:39:00 +0000 2000
>Closed-Date:    
>Last-Modified:  Thu Jun 03 10:26:05 +0000 2021
>Originator:     Steve Woodford
>Release:        1.5_ALPHA2
>Organization:
NetBSD
>Environment:
	NetBSD NFS Server,
	Solaris NFS Clients
System: NetBSD haggis 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (HAGGIS) #0: Wed Aug 16 08:23:13 BST 2000 swoodfor@haggis:/u0/netbsd/src/sys/arch/i386/compile/HAGGIS i386


>Description:
When a NetBSD file-system is NFS exported with the -mapall=nobody (for example)
option in the /etc/exports file, you would expect that NFS clients would be
able to change certain attributes of files on that FS which are owned by
`nobody'.

Currently, when the NFS client issues a utimes(2) system call on a file
it just created on the NFS file-system, that system call returns EACCESS.
Presumably the server is not taking the -mapall=nobody into account when
evaluating permission for that operation.

It's likely this affects other operations, as a coworker just reported having
the same problem with chmod(1)...
>How-To-Repeat:
Make an entry in an NFS server's /etc/exports with the -mapall=nobody option.
Mount the filesystem on a client (in this case Solaris, but that may not
matter) and create a new file; it should be owned and writable by `nobody'.
Try to modify the access time of the file using `touch -c'.
>Fix:
No idea.
>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.