Cerco di installare MacPorts e ottenere questo
$ sudo make install
make: getcwd: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
===> making install in doc
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
make: getcwd: Permission denied
/usr/bin/install -c -d -o root -g admin -m 0755 "/opt/local"
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
install: mkdir /opt: Permission denied
make[1]: *** [install] Error 71
make: *** [install] Error 1
Anche io non sono in grado di
$ sudo mkdir /opt
mkdir: /opt: Permission denied
Posso creare la directory con
open /
e quindi con Finder.
Sono anche in grado di installare MacPorts con il programma di installazione .pgk, ma poi:
sudo port install htop
Error: Insufficient privileges to write to MacPorts install prefix.