This is the mail archive of the
mailing list for the Cygwin project.
NFS Server "cannot change time on" error
- From: Tom Britton <tom dot britton at fronde dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Feb 2010 21:24:02 +0000 (UTC)
- Subject: NFS Server "cannot change time on" error
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?
Windows Server 2003 SP2
daemons running as Administrator (also when running as System account)
... has drwxrwxrwx Unix permissions
... has Everyone Full Control Windows permissions
This is a typical test sequence:
#/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
sundev:/roothome # showmount -e newsybdev
export list for newsybdev:
sundev:/roothome # mount newsybdev:/pub /mnt/pub
sundev:/roothome # touch /mnt/pub/root1
sundev:/export/home/tbritton $ touch /mnt/pub/tom1
touch: cannot change times on /mnt/pub/tom1
Event Viewer message:
Event Type: Error
Event Source: nfsd
Event Category: None
Event ID: 0
Time: 9:57:07 a.m.
User: NT AUTHORITY\SYSTEM
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple