sirs:

sorry for the very vague description of my problem. i should have told everybody in the first place that:
1. my permissions are a-ok
2. my httpd process runs as user apache. i then gave that user permissions to write to
/home. so ownership was not a problem. i then gave apache BASH just to test and run the script on the command line as the specified user...it worked.


problem solved: it was indeed selinux. i switched to permissive mode.
sorry guys and gals...my mistake. ^_^

Dean Michael C. Berris wrote:

Hi Glenn,

Ok, your permissions are fine. But that's not what I'm pointing at though. Look to see if the user that's running apache (or the user apache/your web server is running at) has permissions to write to the directory you want to write to.

Example: Apache runs as nobody, and then the directory /home has permissions dwrx-rx-rx root root ... /home -- then the apache user cannot create a directory there.

Yes, your permissions are fine, but then what you want to do cannot be because Linux does not allow the script (running as nobody) to write to the directory you want to write to.

So your permissions are not the problem, and I don't think you need to get any deeper than that. ;)

Glenn Remot wrote:

my permissions are fine sir.
i'll try to dig in deeper. ^_^
--
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.q-linux.com (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie



-- Philippine Linux Users' Group (PLUG) Mailing List plug@lists.q-linux.com (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to