Is it OK to set /var/www/html to chmod 777 -R on a development site?
I usually do that on my laptop. I do it right with a server.
Are there any problems with doing it this way?
Is it OK to set /var/www/html to chmod 777 -R on a development site?
I usually do that on my laptop. I do it right with a server.
Are there any problems with doing it this way?
No, bad habits should always be avoided. And if you set your development environment incorrectly you are likely to copy something over to the production server. Unintended I am sure but I have seen it happen before.
Depending on how many users are developing: either 700 if it is one user or 750 if it is more than 1 user (and I count you, the webserver user and any other software you use that needs a user as separate users) could be more than enough.