Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2609

[3.3.x] Support Forum • Re: chown www-data cache files store /images/avatars

$
0
0
I looked into this and it seems that only the user owner can perform specific filesystem-oriented operations. It this the reason why?
We rely on some PHP functions to determine if a file/folder is writable (ex. is_writable()) and it seems PHP has some limitations when it comes to actually knowing if the group level permissions grant the ability to write to the specified file.
I am also wondering why permissions oriented documentation I've seen advises 777 permissions - surely the public owner can be set to 0 at least?
Many of our users are on shared web hosting and don't understand the permission granularity or know what account owns their files. It is easier for us to state to set it to 777 since that will work in most cases. You are encouraged to set the permissions as low as possible that still allow the desired functionality.

Statistics: Posted by Noxwizard — Sat May 03, 2025 4:54 pm



Viewing all articles
Browse latest Browse all 2609