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

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

[Octave-bug-tracker] [bug #44548] pkg install defaults to global in Micr


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44548] pkg install defaults to global in Microsoft Windows
Date: Mon, 16 Mar 2015 16:27:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

Follow-up Comment #2, bug #44548 (project octave):

Defaulting to global on windows seems to be design 

http://hg.savannah.gnu.org/hgweb/octave/file/fc6c87e254bf/scripts/pkg/pkg.m#l292

although it may be so because of not knowing how to check properly for
permissions on that system.

I had a a fix for this some years ago which involved checking permissions by
actually trying to create an empty file. I committed it to a development work
for pkg https://bitbucket.org/carandraug/octave/commits/a240810c24d1 but I
can't graft it now since it has a lot of other changes that are not really
ready to be merged. The iswritable function used there seems to be missing as
well :(

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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