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

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

[Octave-bug-tracker] [bug #59821] "pkg update" on windows unexpectedly i


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #59821] "pkg update" on windows unexpectedly installs packages to local
Date: Sun, 9 May 2021 22:55:48 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36

Follow-up Comment #31, bug #59821 (project octave):

ok, about the consistency of the 'administrative rights' text.  Looking
around, it seems 'administrative privileges' is a more generally used term to
cover all OS's.  How about changing text at the front to the following:


## Packages can be installed globally (i.e., for all users of the system) or
## locally (i.e., for the current user only).
##
## Global packages are installed by default in a system-wide location.  This
is
## usually a subdirectory of the folder where Octave itself is installed.
## Therefore, Octave needs write access to this folder to install global
## packages, which is usually only available when Octave is run with
## administrator privileges, such as when run as root (or superuser) on
## Unix-like systems, or run with elevated privileges ("Run as
administrator")
## on Windows.
##
## In contrast, local packages are installed by default in the user's
## home directory (or user profile on Windows) and are only available to that
## specific user.  Usually, they can be installed without administrative
## privileges.

## Every time @code{pkg} is run Octave checks to see whether or not it has
## administrator privileges and sets the default install location to the 
## global or local location accordingly.  Options when running @code{pkg} can
## changed this location as described below. 
##

...

## @item -local
## A local installation (package available only to current user) is forced,
## even if Octave is being run with administrative privileges.
##
## @item -global
## A global installation (package available to all users) is forced, even if
## Octave is not being run with administrative privileges.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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