Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: burton@unixg.ubc.ca (Steve Cumming, net.leftist) Newsgroups: comp.sys.sun Subject: touch(1), utimes(2), nfs on sparc running SunOS4.1 Keywords: SunOS Message-ID: <583@brchh104.bnr.ca> Date: 5 Dec 90 02:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu X-Original-Date: Mon, 26 Nov 90 19:11:13 PST X-Sun-Spots-Digest: Volume 9, Issue 384, message 14 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu This is probably very old news, but touch seems to fail when the file in question is NFS mounted and already exists. I have been unable to determine if the arch/os of the remote system are important. (Can't rsh to find out what they are.) One gets the suspicious Dec 31 1969 date. This is not a big problem for me, as I've grabbed a 4.3 touch which actually scribbles on the file. Sun-touch tries to use utime(2), passing the advertised NULL pointer, which is supposed to update mod time and access time to now. I'm just a little curious about what the bug is... burton@unixg.ubc.ca