X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tom Britton Subject: NFS Server "cannot change time on" error Date: Tue, 16 Feb 2010 21:24:02 +0000 (UTC) Lines: 75 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi I'm trying to set up the Cygwin NFS Server. My problem is that non-root users on a Unix box get a "cannot change time on ..." error when creating files on a NFS share. Root users do not get this message. The (a) problem appears to have something to do with setuid permission (see event Viewer error below). Does anyone know what to do to fix this? Details Server: Cygwin 1.7 nfs-server-2.3-5 Windows Server 2003 SP2 daemons running as Administrator (also when running as System account) Client: Solaris 8 Destination/shared directory: /pub ... has drwxrwxrwx Unix permissions ... has Everyone Full Control Windows permissions ------------------ This is a typical test sequence: /etc/exports #/pub *(rw,all_squash) #/pub *(rw,no_root_squash) #/pub *(rw,all_squash,anonuid=10500,anongid=10513) #/pub *(rw,all_squash,anonuid=501,anongid=513) # Guest local user #/pub *(rw,all_squash,anonuid=1003,anongid=513) # Nobody local user /pub *(rw,all_squash,anonuid=544,anongid=544) # Administrators Mounting share: sundev:/roothome # showmount -e newsybdev export list for newsybdev: /pub * sundev:/roothome # mount newsybdev:/pub /mnt/pub sundev:/roothome # touch /mnt/pub/root1 sundev:/roothome # Create file: sundev:/export/home/tbritton $ touch /mnt/pub/tom1 touch: cannot change times on /mnt/pub/tom1 sundev:/export/home/tbritton $ Event Viewer message: Event Type: Error Event Source: nfsd Event Category: None Event ID: 0 Date: 17/02/2010 Time: 9:57:07 a.m. User: NT AUTHORITY\SYSTEM Computer: NEWSYBDEV Description: The description for Event ID ( 0 ) in Source ( nfsd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: nfsd: PID 2700: Unable to seteuid(544): Permission denied. ------------------ Regards, Tom -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple