The permissions of your www directory are correct, but the permissions of the previous directory of the www directory are wrong. Make sure that the permissions from the root directory to your www directory are correct, To cdno permission error.
In addition: After modifying the user group information, it is important to log out and log in again to make the user group information effective.
The permissions of your
www
directory are correct, but the permissions of the previous directory of thewww
directory are wrong. Make sure that the permissions from the root directory to yourwww
directory are correct, Tocd
no permission error.In addition: After modifying the user group information, it is important to log out and log in again to make the user group information effective.
I think you can try using root privileges to see if it works, or sudo cd www and see if it works.