From owner-freebsd-questions Sat May 16 20:52:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA26318 for freebsd-questions-outgoing; Sat, 16 May 1998 20:52:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freedomnet.com (root@freedomnet.com [198.240.104.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA26298 for ; Sat, 16 May 1998 20:52:14 -0700 (PDT) (envelope-from jobaldwi@vt.edu) Received: from phoenix (chester-36.freedomnet.com [207.244.223.36]) by freedomnet.com (8.8.7/8.8.7/antispam) with SMTP id XAA07678 for ; Sat, 16 May 1998 23:40:03 -0400 (EDT) X-Envelope-To: Message-Id: <3.0.5.32.19980516235330.00596590@mail.vt.edu> X-Sender: jobaldwi@mail.vt.edu X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Sat, 16 May 1998 23:53:30 -0400 To: freebsd-questions@FreeBSD.ORG From: John Baldwin Subject: Question re: NFS and permissions, Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, there is probably an answer to this question in the online docs or man pages, but I've yet to find it, so here goes... I'm trying to export my /usr/ports directory, but when I attempt to put /usr/ports in my exports file, mountd sends an error to syslog saying that the entry is invalid because it "can't change permissions on /usr/ports". Here is the offending line from /etc/exports: /usr/ports -maproot=0,ro server # (server is my server's hostname) And here are the permissions for /usr/ports: drwxr-xr-x root wheel /usr/ports I can get /usr/src and /usr/obj to export fine, the only difference being that a) they are mounted rw and not ro, and b) their permissions are as follows: drwxr-xr-x bin bin /usr/src #same for /usr/obj I would like to know both a solution and the reason why I am getting this message. Also, I am not subscribed to this list, so please cc: any replies directly to me. Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message