Nameless
Nameless copied to clipboard
Determine the right group for chown
Describe the feature
This is based on https://github.com/NamelessMC/Nameless/blob/fcaa51708c23d592a92209d9ff7728f557070647/core/init.php#L43 basically, on CentOS, it is either nginx/apache and not www-data. Not sure if possible, but PHP should determine the right group
get_current_user() should work