[15734] in Athena Bugs
sun4 8.1.14: dsgrep
daemon@ATHENA.MIT.EDU (Brett David Rosen)
Tue Dec 30 15:21:23 1997
To: bugs@MIT.EDU
Date: Tue, 30 Dec 1997 15:21:20 EST
From: Brett David Rosen <bdrosen@MIT.EDU>
System name: afterburner
Type and version: SPARC/5 8.1.14
Display type: cgthree
What were you trying to do?
dsgrep -n 20 -e foo -f /mit/consult/lib/dig/default_meetings
dsgrep -n 20 -e foo -f /mit/consult/lib/dig/default_meetings oc
What's wrong:
> dsgrep -n 20 -e foo -f /mit/consult/lib/dig/default_meetings
No meetings selected.
> dsgrep -n 20 -e foo -f /mit/consult/lib/dig/default_meetings oc
dsgrep: error expanding meeting oc: Read-only file system
In the first case if concludes that the meeting file specified
is invalid but doesn't give a message to that effect, confusing
the user.
In both cases the problem is that the discuss code is calling
find_rc_filename() at some point and if this line is not true,
!access(disrcbuf, R_OK|W_OK) it discards the meeting file.
What should have happened:
You should be able to use a meetings file that you don't
have write access to, since dsgrep shouldn't need to write to it.
This probably means changing some of the discuss internals though.
Please describe any relevant documentation references:
discuss source
dsgrep man page.