Nameless icon indicating copy to clipboard operation
Nameless copied to clipboard

Determine the right group for chown

Open PadowYT2 opened this issue 1 year ago • 1 comments

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

PadowYT2 avatar Dec 24 '23 19:12 PadowYT2

get_current_user() should work

Derkades avatar Dec 27 '23 09:12 Derkades