Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine the right group for chown #3480

Open
PadowYT2 opened this issue Dec 24, 2023 · 1 comment
Open

Determine the right group for chown #3480

PadowYT2 opened this issue Dec 24, 2023 · 1 comment

Comments

@PadowYT2
Copy link
Contributor

Describe the feature

This is based on

the correct user.</p><p><strong>Example</strong> command to change owner recursively: <code>sudo chown -R www-data: ' . Output::getClean(ROOT_PATH) . '</code></p>');

basically, on CentOS, it is either nginx/apache and not www-data. Not sure if possible, but PHP should determine the right group

@Derkades
Copy link
Member

get_current_user() should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants