Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <40523B6B.7080500@siemens.com> Date: Fri, 12 Mar 2004 17:36:27 -0500 From: "Smith, Gene" Reply-To: gene DOT smith AT siemens DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: nfs-server re-exporting mapped network drives References: <4052204F DOT 7070103 AT siemens DOT com> <40522EE5 DOT 4060307 AT siemens DOT com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Igor Pechtchanski wrote: > On Fri, 12 Mar 2004, Smith, Gene wrote: >>You are right! That fixed it. There was already a "w" for the user >>"SYSTEM" but not on group and other. Guess that's what it needs. This >>fact should definitely be added to the readme or changed in the default >>install. I changed it on all three nfs related log files for good measure. > > > The log files are created by cygrunsrv when the service is first started. > If cygrunsrv ran as LocalSystem, the logs will be owned by LocalSystem. > The default umask (set in /etc/profile) is 022, which means "turn off > group and world write permissions". I doubt there's anything the nfs > server itself can do about this. You might try changing the umask in > /etc/profile, removing the log, and starting over... If this works, then > it definitely should be in the README. Changed umask in /etc/profile to 000. With nfs daemons running, rm'd the logfiles. Restarted daemons with no error. Files came back like this: -rw-r--r-- 1 SMITED mkgroup- 0 Mar 12 17:18 mountd.log -rw-r--r-- 1 SMITED mkgroup- 11869 Mar 12 17:21 nfsd.log -rw-r--r-- 1 SYSTEM root 0 Mar 12 17:18 portmap.log No longer all SYSTEM/root but now like all other files in system SMITED/mkgroup- (except portmap which is still running as LocalSystem). Looks like the 1st time you start nfs as LocalSystem it makes it impossible to change unless you add write permissions or delete the mountd and ntfsd log files first. Also noticed that when I bop around in my mounted nfs directory on the client machine (doing cd's and ls), I get tons of errors in the nfsd.log file all saying this: "nfsd[1860] 03/12/104 17:21 auth_clnt.c 327 : Unable to setgroups: invalid argument" This happened when running as LocalSystem too. -gene > > >>I also noticed that nfs-server-config script did not work quite right >>the second time you ran it. It would not reload the daemons but complain >>they were already installed. I fixed that my rearranging the order of >>things. Also, it always complained that your mounts were not global even >>when they are. I also fixed that. Should I send a patch to someone or >>just send my fixed file to this list? >> >>Thanks for the help. >>-gene > > > The nfs-server announcement > () says to send > comments and questions to the cygwin list (i.e., here). To help the > maintainer filter out the relevant messages, you might put something like > "[PATCH] nfs-server: ..." as the subject. > > Hope this helps, > Igor -- 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/