Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!zephyr!tektronix!orca!quark!jeff From: jeff@quark.WV.TEK.COM (Jeff Beadles) Newsgroups: comp.unix.questions Subject: Re: Why is fortune writing to the fortunes.dat file? Message-ID: <3433@orca.WV.TEK.COM> Date: 27 May 89 00:43:21 GMT References: <883@apctrc.UUCP> <730@dutrun.UUCP> Sender: nobody@orca.WV.TEK.COM Reply-To: jeff@quark.WV.TEK.COM (Jeff Beadles) Organization: Tektronix, Inc., Wilsonville, OR Lines: 34 In article <730@dutrun.UUCP> hans@duttnph.UUCP (Hans Buurman) writes: > >It's more strange than that. We have sun3 and sun4 clients all running >SunOS 4.0.1. All have /usr/games read-only. On the sun3's, this works fine. >On sun4's, you get a message: >/usr/games/lib/fortunes.dat: Read-only file system > >There are no other differences between the two fortunes. This is due to the way that you have /usr/games mounted. There are two different styles of /etc/exports (on the server)that I know of. They look like: /usr2 host1 host2 or /usr2 -rw=tango:packrat:pong:vanuatu:abacus If you have the second, make sure that it's mounted rw, and not '-access=' If that does not work, look in /etc/fstab on the client. (I don't have a sun, so I can't be overly specific here...) The reason that fortune writes to the data file is to keep track of the last fortune sent. It's part of how it keeps spitting out random-looking fortunes. Hope it helps, -Jeff -- Jeff Beadles Utek Sustaining Engineering, Tektronix Inc. jeff@quark.WV.TEK.COM