[ovs-dev] [PATCH ovn v3] documentation: add sudo to install

Ben Pfaff blp at ovn.org
Thu Apr 8 15:34:45 UTC 2021


On Wed, Apr 07, 2021 at 10:27:25PM +0100, Mark Gray wrote:
> On 07/04/2021 20:43, Aidan Shribman wrote:
> > From: hunchback <aidan.shribman at gmail.com>
> > 
> > add documentation of install sequence sudo to support running install
> > sequence as non-root user
> > 
> > Signed-off-by: Aidan Shribman <aidan.shribman at gmail.com>
> > ---
> >  Documentation/intro/install/general.rst | 14 +++++++-------
> >  1 file changed, 7 insertions(+), 7 deletions(-)
> > 
> > diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
> > index 08a03a632..ee4827242 100644
> > --- a/Documentation/intro/install/general.rst
> > +++ b/Documentation/intro/install/general.rst
> > @@ -371,7 +371,7 @@ Building
> >  3. Run ``make install`` to install the executables and manpages into the
> >     running system, by default under ``/usr/local``::
> >  
> > -       $ make install
> > +       $ sudo make install
> 
> Maybe the prompt could be changed to "#" to imply root privileges?

It seems to be the "modern" thing to assume people are running as an
unprivileged user but using sudo.  It's what most distros encourage
these days.  It's probably better to go along with it, than to assume
that users know when they need to run as root; the users who know what
they're doing will also know when to skip typing "sudo".


More information about the dev mailing list