not able to install the Command Line Tools (BBEdit version 12.6.6 (412112, 64-bit, sandboxed), macOS Mojave 10.14.6)

277 views
Skip to first unread message

Vlad Ghitulescu

unread,
Aug 12, 2019, 11:27:39 AM8/12/19
to BBEdit Talk

Hello!

I have installed from scratch Mojave and shortly after BBEdit.

I was remembered that I didn’t installed the Command Line Tools:

I tried from within BBEdit but…

So I opened the Terminal and navigate to /usr/local but there’s no directory „share“ already there and I also don’t have the permission to create it (I am logged in as a normal user):

I can’t do this not even as admin:

What do I do wrong?

Thanks!

Regards,
Vlad

Bildschirmfoto 2019-08-12 um 17.13.56.png
Bildschirmfoto 2019-08-12 um 17.03.04.png
Bildschirmfoto 2019-08-12 um 17.05.29.png
Bildschirmfoto 2019-08-12 um 17.20.48.png
Bildschirmfoto 2019-08-12 um 17.21.59.png

Rich Siegel

unread,
Aug 12, 2019, 12:55:16 PM8/12/19
to bbe...@googlegroups.com
On 8/12/19 at 11:24 AM, Vl...@Ghitulescu.de (Vlad Ghitulescu) wrote:

>So I opened the Terminal and navigate to /usr/local but there’s no
>directory „*share*“ already there and I also don’t have the permission
>to create it (I am logged in as a normal user):

/usr/local/ is owned by root:wheel, so you will have to sudo the
directory creation:

sudo mkdir -p /usr/local/share/man/man1

R.
--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they
sedate me.

Marek Stepanek

unread,
Aug 12, 2019, 12:55:35 PM8/12/19
to bbe...@googlegroups.com

Hi Vlad!

I am not sure, but has your /usr/local the right permissions? It’s only a guess! To illustrate:

ls -l
drwxr-xr-x@ 9 root wheel 288B Oct 24 2018 usr/
drwxr-xr-x 19 root wheel 608B Jul 21 17:53 local/

And in /usr/local/ I get:

drwxrwxr-x 6 mstep admin 192 Aug 10 19:14 Caskroom/
drwxrwxr-x 105 mstep admin 3360 Aug 2 12:39 Cellar/
drwxrwxr-x 3 mstep admin 96 Jul 12 07:18 Frameworks/
drwxrwxr-x 20 mstep admin 640 Jul 12 07:18 Homebrew/
drwxrwxr-x 430 mstep admin 13760 Aug 11 11:12 bin/
drwxrwxr-x 14 mstep admin 448 Aug 5 15:35 etc/
drwxrwxr-x 176 mstep admin 5632 Aug 8 10:34 include/
drwxrwxr-x 378 mstep admin 12096 Aug 10 19:10 lib/
lrwxr-xr-x 1 root wheel 30 Mar 23 10:58 mysql@ -> mysql-8.0.15-macos10.14-x86_64
drwxr-xr-x 4 root wheel 128 Mar 23 10:58 mysql-8.0.13-macos10.14-x86_64/
drwxr-xr-x 17 root wheel 544 Mar 23 10:59 mysql-8.0.15-macos10.14-x86_64/
drwxrwxr-x 121 mstep admin 3872 Aug 10 19:10 opt/
drwxrwxr-x 15 mstep admin 480 Aug 8 10:34 sbin/
drwxrwxr-x 39 mstep admin 1248 Aug 8 10:34 share/
drwxr-xr-x 4 root wheel 128 May 11 09:37 texlive/
drwxrwxr-x 6 mstep admin 192 May 19 16:14 var/

Has your local folder perhaps an “@“ or “+” restriction (ACR)? I don’t remember exactly how to remove it, but if you look into

man chflags

you will find a solution.


Best greetings from rainy Munich


marek



> On 12. Aug 2019, at 17:24, Vlad Ghitulescu <Vl...@Ghitulescu.de> wrote:
>
> Hello!
>
> I have installed from scratch Mojave and shortly after BBEdit.
>
> I was remembered that I didn’t installed the Command Line Tools:
>
> <Bildschirmfoto 2019-08-12 um 17.13.56.png>
>
> I tried from within BBEdit but…
>
> <Bildschirmfoto 2019-08-12 um 17.03.04.png>
>
> So I opened the Terminal and navigate to /usr/local but there’s no directory „share“ already there and I also don’t have the permission to create it (I am logged in as a normal user):
>
> <Bildschirmfoto 2019-08-12 um 17.20.48.png>
>
> I can’t do this not even as admin:
>
> <Bildschirmfoto 2019-08-12 um 17.21.59.png>
>
> What do I do wrong?
>
> Thanks!
>
> Regards,
> Vlad
>
>
> --
> This is the BBEdit Talk public discussion group. If you have a
> feature request or need technical support, please email
> "sup...@barebones.com" rather than posting to the group.
> Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/04CF54EB-5E22-4B8B-8433-3700C3CE05BF%40Ghitulescu.de.
> <Bildschirmfoto 2019-08-12 um 17.13.56.png><Bildschirmfoto 2019-08-12 um 17.03.04.png><Bildschirmfoto 2019-08-12 um 17.05.29.png><Bildschirmfoto 2019-08-12 um 17.20.48.png><Bildschirmfoto 2019-08-12 um 17.21.59.png>

Christopher Stone

unread,
Aug 13, 2019, 10:53:13 AM8/13/19
to BBEdit-Talk
On 08/12/2019, at 10:24, Vlad Ghitulescu <Vl...@Ghitulescu.de> wrote:
So I opened the Terminal and navigate to /usr/local but there’s no directory „share“ already there and I also don’t have the permission to create it (I am logged in as a normal user):


Hey Vlad,

Rich's answer is the simplest solution, but you can also get there quite easily in the Finder.

– Open a window.

– Type Cmd-Shift-G.

- Type /usr/local in the resulting sheet.

- Type Return or hit the [ Go ] button.

From there you can create a new folder, and the Finder will make you authenticate during the process.

--
Take Care,
Chris

Vlad Ghitulescu

unread,
Aug 13, 2019, 11:02:35 AM8/13/19
to bbe...@googlegroups.com


On 12 Aug 2019, at 18:53, Marek Stepanek wrote:

> you will find a solution.

Rich helped :-)


> Best greetings from rainy Munich

Best from rainy Essen! ;-)
Vlad

Vlad Ghitulescu

unread,
Aug 13, 2019, 11:02:44 AM8/13/19
to bbe...@googlegroups.com


On 12 Aug 2019, at 18:55, Rich Siegel wrote:

> On 8/12/19 at 11:24 AM, Vl...@Ghitulescu.de (Vlad Ghitulescu) wrote:
>
>> So I opened the Terminal and navigate to /usr/local but there’s no
>> directory „*share*“ already there and I also don’t have the
>> permission
>> to create it (I am logged in as a normal user):
>
> /usr/local/ is owned by root:wheel, so you will have to sudo the
> directory creation:
>
> sudo mkdir -p /usr/local/share/man/man1

That did it!
Thanks, Rich!


Regards,
Vlad


Reply all
Reply to author
Forward
0 new messages