About apache Permissions

Asked 2 years ago, Updated 2 years ago, 48 views

When creating a text file with php, what kind of system can apache create for a folder where the user is "_www" and the group is "_www" but the owner is "self" and the group is "staff"?
The permission for that folder is 0755.

php apache

2022-09-29 21:48

1 Answers

Perhaps in that environment, SuEXEC is introduced, and PHP is operating in CGI mode.

When SuEXEC is enabled, the CGI program runs with user privileges and can be written to a directory owned by that user.

Note: suEXEC Support


2022-09-29 21:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.