From help-request at octave dot org Wed Sep 22 14:34:51 2004 Subject: Re: What does the exit command do? From: Keith Goodman To: "Dmitri A. Sergatskov" Cc: octave help mailing list Date: Wed, 22 Sep 2004 12:33:00 -0700 I'm calling Octave with the command 'octave -qH myfunction.m' so it should't need to write to .octave-hist on exit. I get the error with or without the -H option. On Wed, 22 Sep 2004 12:55:30 -0600, Dmitri A. Sergatskov wrote: > > > Keith Goodman wrote: > > If I become another user, say www-data, I get an error when I exit Octave: > > > > > >>exit > > > > error: Permission denied > > > > What does the exit command do? Does it write to a file? > > > > It writes $HOME/.octave_hist. Does www-data have a $HOME? > If not (I think) it will write to /.octave_hist > which is probably not allowed... > > Dmitri. > > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------