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: Andrew Janke
Subject: [Octave-bug-tracker] [bug #44548] pkg install defaults to global in Microsoft Windows
Date: Wed, 16 Jan 2019 14:30:49 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

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

I'd like to suggest calling out to PowerShell to check the permissions,
instead of probing with a file write:
https://stackoverflow.com/questions/34859477/check-if-user-has-read-write-permissions.
PowerShell is available in all recent versions of Windows.

I'd also like to suggest that the correct default location for local (user)
installations of Octave pkg packages is under the user LocalAppData shell
folder, which you can locate with `getenv('LOCALAPPDATA')`. That's the Windows
equivalent of `$XDG_DATA_HOME` (~/.local/share).

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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