[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does the exit command do?
From: |
Dmitri A. Sergatskov |
Subject: |
Re: What does the exit command do? |
Date: |
Wed, 22 Sep 2004 14:01:47 -0600 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Perhaps it is a bug. I just created user dummy with home directory "/"
I run myexit.m file that contains a single line
exit
-bash-2.05b$ octave -qH /tumbleweed/dima/octave/myexit.m
error: Permission denied
If I do strace I get:
-bash-2.05b$ strace octave -qH /tumbleweed/dima/octave/myexit.m
...
read(3, "exit\n\n", 4096) = 6
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) =
0open("//.octave_hist", O_WRONLY|O_CREAT|O_TRUNC, 0600) = -1 EACCES (Permission
denied)
futex(0x1821494, FUTEX_WAKE, 2147483647) = 0
write(2, "e", 1e) = 1
write(2, "r", 1r) = 1
...
Keith Goodman wrote:
I'm calling Octave with the command 'octave -qH myfunction.m' so it
should't need to write to .octave-hist on exit.
-------------------------------------------------------------
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
-------------------------------------------------------------
- What does the exit command do?, Keith Goodman, 2004/09/22
- Re: What does the exit command do?, Dmitri A. Sergatskov, 2004/09/22
- Re: What does the exit command do?, Keith Goodman, 2004/09/22
- Re: What does the exit command do?,
Dmitri A. Sergatskov <=
- Re: What does the exit command do?, John W. Eaton, 2004/09/22
- Re: What does the exit command do?, Keith Goodman, 2004/09/22
- Re: What does the exit command do?, Francesco Potorti`, 2004/09/23
- Re: What does the exit command do?, John W. Eaton, 2004/09/23
- Re: What does the exit command do?, Francesco Potorti`, 2004/09/23
- Re: What does the exit command do?, John W. Eaton, 2004/09/23
- Re: What does the exit command do?, Geraint Paul Bevan, 2004/09/23
- Re: What does the exit command do?, Geraint Paul Bevan, 2004/09/23
- Re: What does the exit command do?, Dmitri A. Sergatskov, 2004/09/22
What does the exit command do?, John W. Eaton, 2004/09/22