delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/26/09:58:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FC4BF98.5090408@mdtvision.com>
Date: Wed, 26 Nov 2003 16:58:32 +0200
From: "Andrey KISHKEVITCH (akh)" <a-kishkevitch AT mdtvision DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en, ru, en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Solution for:"Cygwin NFS server problems - cannot mount from client
(HPUX 11)"
Note-from-DJ: This may be spam

  Hello Robb, Sam.
I've found the solution for the problem described in "Cygwin NFS server 
problems - cannot mount from client (HPUX 11)".
I had the same problem . I could mount from any UNIX (Solaris, HP-UX, 
Irix). The solution is :
1.Replace in /etc/passwd the line: "SYSTEM:*:18:544:,S-1-5-18::" with 
"SYSTEM:*:0:544:,S-1-5-18::" . That means SYSTEM == root. Because there 
is not exist a user with uid 0 in CYGWIN by default (and after 
seteuid(ROOT_UID), were  ROOT_UID==0 readdir and stat return something 
strange).
or
2. Before build the NFS server set the variabvle CFLAGS to 
"-DROOT_UID=18 $CFLAGS"

Everything will be OK I hope.

Best regards.
Andrey


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019