From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Fri, 29 May 2020 10:14:44 +0200 From: Michael Olbrich Message-ID: <20200529081444.GD31789@pengutronix.de> References: <20200528080514.22522-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200528080514.22522-1-p.zabel@pengutronix.de> Subject: Re: [ptxdist] [PATCH] doc: environment: make toolchain directory user writeable as root List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Philipp Zabel Cc: ptxdist@pengutronix.de On Thu, May 28, 2020 at 10:05:14AM +0200, Philipp Zabel wrote: > Creating the toolchain directory under /opt and making it writeable to > the user should be done as root. Make this very obvious by prepending > the commans with sudo. Hmm, it does say that you probably need root permissions to do this in the paragraph above. I'm not sure if adding sudo here helps any. Also, I need to rewrite the whole section because the latest toolchains are handled differently. Michael > Signed-off-by: Philipp Zabel > --- > doc/environment.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/doc/environment.rst b/doc/environment.rst > index 18aecec4eb0b..7b0da683b10e 100644 > --- a/doc/environment.rst > +++ b/doc/environment.rst > @@ -484,9 +484,9 @@ enter: > > :: > > - $ mkdir /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > - $ chown /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > - $ chmod a+rwx /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > + $ sudo mkdir /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > + $ sudo chown /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > + $ sudo chmod a+rwx /opt/OSELAS.Toolchain-|oselasTCNVendorVersion| > > We recommend to keep this installation path as PTXdist expects the > toolchains in ``/opt``. Whenever we go to select a platform in a > -- > 2.20.1 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de