This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

NFS Server "cannot change time on" error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]