tirenweb
tirenweb

Reputation: 31739

'htdocs' folder in XAMPP for linux belongs to "nobody" after installing, why?

after installing XAMPP on linux i have seen the folder "htdocs" belongs to "nobody".

Has this any intention? Do you think owning that folder is a good practice?

Regards

Javi

Upvotes: 1

Views: 2584

Answers (1)

kazanaki
kazanaki

Reputation: 8054

For security reasons.

It also means that apache should be also running as "nobody" and have read access to htdocs.

Some Linux distributions use "nobody" for servers and daemons while others create a user for each service (e.g mysql user, apache user)

Upvotes: 2

Related Questions