I'm having issues writing to files and directories. I'm also new to the mac os world.
Example of the issue:
I'll create some files within the directory /users/username/dev.
When I go to edit those files within that directory or subdirectories using sublime, nano, etc., I'll be prompted with either permission denied messages or I'll have to continuously enter my user password (in the UI).
Do I have to constantly use sudo nano myfile.txt in order to edit files also? It seems the permissions.
(Note that I use both sublime, nano, etc. to modify files.)
Another (more complex issue)
I installed the laravel framework to /Applications/MAMP/htdocs/websitedir/
When I tried to view the site I couldn't see it until I entered the command: sudo chmod -R gu+w websitedir/*
Do I have to apply some type of write permissions to all of these directories?
If it's important, I'm also logging into the system with my local account and not any network accounts (though network accounts are available).
Example of the issue:
I'll create some files within the directory /users/username/dev.
When I go to edit those files within that directory or subdirectories using sublime, nano, etc., I'll be prompted with either permission denied messages or I'll have to continuously enter my user password (in the UI).
Do I have to constantly use sudo nano myfile.txt in order to edit files also? It seems the permissions.
(Note that I use both sublime, nano, etc. to modify files.)
Another (more complex issue)
I installed the laravel framework to /Applications/MAMP/htdocs/websitedir/
When I tried to view the site I couldn't see it until I entered the command: sudo chmod -R gu+w websitedir/*
Do I have to apply some type of write permissions to all of these directories?
If it's important, I'm also logging into the system with my local account and not any network accounts (though network accounts are available).