/opt/traccar : permission denied

ian25078 years ago

I have the following error when trying to install...

mkdir: /opt/traccar: Permission denied
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
chmod: /opt/traccar: No such file or directory
/Users/ianweatherhead/Desktop/traccar-macos-3/traccar.run: line 488: /opt/traccar/bin/installDaemon.sh: No such file or directory

can anyone shed any light as to what I'm doing wrong

Anton Tananaev8 years ago

Are you running installation script as root user?

ian25078 years ago

not sure what you mean, i dragged traccar.run into terminal and this is what happened

mkdir: /opt/traccar: Permission denied
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
chmod: /opt/traccar: No such file or directory
/Users/ianweatherhead/Desktop/traccar-macos-3/traccar.run: line 488: /opt/traccar/bin/installDaemon.sh: No such file or directory
Anton Tananaev8 years ago

I would recommend you to read official documentation:

https://www.traccar.org/mac-os/