I'm trying to edit a file on my mac. The file is
config.inc.php of XAMPP located in
Permission of the folder and file:
drwxr-xr-x 12 root wheel 4096
-rw-r--r-- 1 daemon daemon 5109 config.inc.php
I tried to open file with:
sudo nano config.inc.php but it doesn't change it because it says i don't have permission to do it.
To changing the privileges with:
sudo chmod 777 config.inc.php, but it doesn't make me modify it.
To reset privileges of the computer and create a new administrator User, but he doesn't want to know about changing the permissions.
I'm freaking out can anyone help me out?
Here a screenshot of the Terminal error: