Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!dutrun!hans From: hans@duttnph.UUCP (Hans Buurman) Newsgroups: comp.unix.questions Subject: Re: Why is fortune writing to the fortunes.dat file? Message-ID: <731@dutrun.UUCP> Date: 29 May 89 07:29:20 GMT References: <883@apctrc.UUCP> <730@dutrun.UUCP> <3433@orca.WV.TEK.COM> Sender: tnphnws@dutrun.UUCP Reply-To: hans@duttnph.UUCP (Hans Buurman) Organization: Delft University of Technology, The Netherlands Lines: 65 In article <3433@orca.WV.TEK.COM> jeff@quark.WV.TEK.COM (Jeff Beadles) writes: >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. (suggestion to look in /etc/exports on server) Sorry Jeff, but I can't find any differences. grep exec /etc/exports /export/exec/sun3 -ro,access=clients /export/exec/sun4 -ro,access=clients >If that does not work, look in /etc/fstab on the client. mizar grep exec /etc/fstab duttnph:/export/exec/sun3 /usr nfs ro 0 0 antares grep exec /etc/fstab duttnph:/export/exec/sun4 /usr nfs ro 0 0 mizar df /usr/games/fortune Filesystem kbytes used avail capacity Mounted on duttnph:/export/exec/sun3 84928 61587 14848 81% /usr antares df /usr/games/fortune Filesystem kbytes used avail capacity Mounted on duttnph:/export/exec/sun4 84928 71671 4764 94% /usr mizar /usr/games/fortune A rock pile ceases to be a rock pile the moment a single man contemplates it, bearing within him the image of a cathedral. -- Antoine de Saint-Exupery antares /usr/games/fortune /usr/games/lib/fortunes.dat: Read-only file system And, on the server: ls -l /export/exec/sun[34]/games/lib/fortunes.dat -rw------- 1 daemon 348056 Apr 9 1988 /export/exec/sun3/games/lib/fortunes.dat -rw------- 1 daemon 348056 May 29 09:25 /export/exec/sun4/games/lib/fortunes.dat (Of course, the server is a sun4 and has /usr/games r/w !). >Jeff Beadles Utek Sustaining Engineering, Tektronix Inc. >jeff@quark.WV.TEK.COM Both architectures are running SunOs 4.0.1 Export. Anybody out there with source ? Hans ----------------------------------------------------------------------------- Hans Buurman | hans@duttnph.UUCP Pattern Recognition Group | Faculty of Applied Physics | mcvax!hp4nl!dutrun!duttnph!hans Delft University of Technology | tel. 31 - (0) 15 - 78 46 94