When I try to install Linux brew I m getting permission issue.
Below is the error message I m getting.
Press RETURN to continue or any other key to abort
==> Downloading and installing Linuxbrew...
/home/linuxbrew/.linuxbrew/Homebrew/.git/branches/: Permission denied
Failed during: git init -q
I tried to set folder permission but it's not working.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
Press RETURN to continue or any other key to abort
==> Downloading and installing Linuxbrew...
/home/linuxbrew/.linuxbrew/Homebrew/.git/branches/: Permission denied
Failed during: git init -q
First,
sudo chmod 755 /home/linuxbrew/would apply 755 on/home/linuxbrew/only, not on sub-folders.Second, in addition of
chmod, check theownerof/home/linuxbrew/and its sub-folders.See for instance
Linuxbrew/brewissue 550: