Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36127

Feature Request/Alteration for servers and scripting engines.

$
0
0
Fedora and other various Linux distribution have a common problem. I love Fedora, but really dislike this issue. The problem is that packages are setup with a specific goal in mind. Lets use PHP as an example. Yes it is compiled with Apache, and all works well. Now lets say that I really dislike the Apache webserver. This is where the problem comes into play.

PHP is installed with the ownership "root.apache". Running a different webserver ... provided by Fedora (nginX) and I have to go and manually change ownership of all the affected directories. This is just to get PHP working with that webserver. Now, every single time there is a PHP update, I have to go and fix the ownership again.

I propose a solution to this.

When a webserver is installed, say nginx, it gets the default owner: nginx and group: nginx. This is the way it currently is. Now I would like to add that user to the group "www" (basically a similar server group). Each webserver, be it apache, tomcat, nginx, etc.... gets added to the www group as it gets installed via RPM.

For PHP, simply set the owner to "root" and the group to "www" .... instead of the default root.apache setting. This will make it so that any webserver installed will have the correct file permissions/ownership set for any choice of configuration without the need to manually "fix" any updates.

Viewing all articles
Browse latest Browse all 36127

Trending Articles