jdd wrote:
Hello,
I manage my own online servers and usually use /srv/www/htdocs as web root. But sometime or for test purpose I would like to run some php scripts from the public_html of some user.
But then I get permission problems. At a moment or an other the scripts bugs
When I copy from local computer to the server I use mostly fish (or download directly on the server), so the files use to have local user name:users permissions, when apache wants wwwrun:www (AFAIR).
Apache runs as wwwrun:www in the default setup, so as long as scripts are world-readable, you should not have any problems with that. If any of your scripts want to write, it's a different story.
most files I get have 766 permissions (write enabled only for the owner, read everybody), so no read problem but write problems.
Sounds good.
is there a general openSUSE way to solve this without breaking security? Changing file owner can be only by root...
jdd, what is the problem? Your setup sounds completely normal. -- Per Jessen, Zürich (12.1°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org