LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Allow my web services to write/read from "/"? (https://www.linuxquestions.org/questions/linux-server-73/allow-my-web-services-to-write-read-from-4175428739/)

riahc3 09-24-2012 03:13 AM

Allow my web services to write/read from "/"?
 
Hello

I wanted to use root for this but Im having other thoughts.

I want to read/write content from the "/" directory. How can I get my web service do be able to do this without "permission denied"?

Thanks

zhjim 09-24-2012 03:19 AM

*Bad idea*
Quote:

Originally Posted by riahc3 (Post 4787804)
I wanted to use root for this but Im having other thoughts.

I want to read/write content from the "/" directory. How can I get my web service do be able to do this without "permission denied"?

*who cares*
http://timelordz.com/wiki/Apache_Sudo_Commands
http://httpd.apache.org/docs/2.2/suexec.html

fotoguy 09-27-2012 01:14 PM

This is a major security issue, never under any circumstances allow your web sever to read and write to the root drive. I doubt if anyone here will help you to do this, it's a *nix's admin worst nightmare.

chrism01 09-27-2012 08:00 PM

Definitely NOT recommended!


All times are GMT -5. The time now is 10:07 AM.