0

I am using Apache to host two websites that are stored in /var/www/html/"site name"

Currently the only way I am able to delete or upload files or create or delete folders via FTP is to set the rwx permissions to 757 using the following command

sudo chmod -R 757 /var/www/html/

Then when I want to verify that the file that I just uploaded appears to my liking in a web browser I have to change the permissions back to 755,

Forbidden You don't have permission to access this resource.

What do I need to do to not have to keep changing the permissions?

Thank You

3
  • Requests for TWO tutorials on a Q&A site like Askubuntu is inappropriate. Commented Mar 21, 2025 at 22:08
  • I’m voting to close this question because Requests for TWO tutorials on a Q&A site like Askubuntu is inappropriate. Commented Mar 21, 2025 at 22:09
  • @waltinator, I do not know what you mean. Commented Mar 22, 2025 at 2:52

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.