oh-my-bash
oh-my-bash copied to clipboard
I cannot get this installer to work on bash 3.2 in the latest OS X Sonoma
OS X Sonoma 14.1.1 bash 3.2
I get this error:
host:tmp user$ pwd /Users/user/data/tmp bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" Warning: Bash >=4 is no longer required for Oh My Bash but is cool to have ;) Warning: Why don't you upgrade your Bash to 4 or higher? Cloning Oh My Bash... $ git clone --depth=1 https://github.com/ohmybash/oh-my-bash.git /Users/fredrik/.oh-my-bash fatal: could not create work tree dir '/Users/user/.oh-my-bash': Permission denied
Maybe it could work with bash version 4-5...
What is the result of the following command?
$ ls -la /Users/{fredrik,user}
I tried to remove my host and username, observant of you :o) Excerpt:
ls -la /Users/fredrik/ total 208 drwx------@ 36 fredrik staff 1.1K Nov 11 16:50 ./ drwxr-xr-x 5 root admin 160B Nov 10 09:47 ../
Another issue which points out that there might some other problem in ~/:
pwd && touch test /Users/fredrik touch: test: Permission denied
Whereas I managed to use a subfolder data/ pwd && touch test /Users/fredrik/data/src
Then I can create files. And I managed to clone the repo in there but the installation still fails. Maybe I should try in a chroot.
Do you think the following Q&A is related to your issue?
The expected permission in macOS seems to be rwxr-xr-x
, but the permission of your home directory seems to be rwx------@
.
Then I can create files. And I managed to clone the repo in there but the installation still fails.
How does it fail there?