octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44720] edit.m: Fails to open protected file i


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44720] edit.m: Fails to open protected file if ~/octave does not exist
Date: Sat, 04 Apr 2015 18:21:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

Follow-up Comment #7, bug #44720 (project octave):

@Rik: make sure you don't have write permissions on hadamard.m, and also make
sure that you don't have a ~/octave directory.


$ chmod a-w
/opt/gnu/octave/share/octave/4.0.0-rc2/m/special-matrix/hadamard.m
$ rm -rf /tmp/homedir
$ mkdir /tmp/homedir
$ HOME=/tmp/homedir octave -qf --no-gui-libs
octave:1> edit mode sync
octave:2> edit hadamard
cp: cannot create regular file ‘/tmp/homedir/octave/hadamard.m’: No such
file or directory
## and vim is started with an empty buffer ~/octave/hadamard.m
## trying to save that buffer in vim results in
## Can't open file for writing



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44720>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]