Unable to access xampp files because of user permissions problem
Solution 1:
Network Drive Limitation
You likely can not change the permissions of using the network shared drive, nfs
, path. Instead use the approach below on the Mac involved, using the local paths.
Changing Permissions
You can grant yourself access to the daemon's files using the Finder's Get Info panel.
- Within the Finder, select the folder you want access to;
- Select File (menu) > Get Info;
- Within Sharing & Permissions click the + and add your user account;
- Within Sharing & Permissions click the cog and select Apply to enclosed items.
You may need to unlock the permissions settings using the Lock on the lower-right of the panel.
Command line approach
Alternatively, you can use the command line to change permissions, see Permissions for new files in shared directory. The command line approach is more capable and allows sudo
to ensure you have permissions to make the change.
Locked files and chmod
errors
See Why does chown report “Operation not permitted” on OS X?