Permission problems in nginx under linux

logs in to a remote machine with root privileges and creates some static files under / root, something like this:

clipboard.png

nginxnginx.confuserwww-data, root:

clipboard.png

what I am curious about here is that the permissions of my files and folders should be readable to all users ( rLLIX ), nginx users are a little strange, they are www-data , but they should also be readable, so why is there a permission problem?

Mar.10,2021

because www-data does not have the execute permission of / root folder


Brother dei you need to relearn linux. This is because your www-data user group does not have enough privileges. Only the root user group has such high privileges.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b364ea-2bff8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b364ea-2bff8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?