RE: [PHP] mkdir permission errors
| From: | Wolf | Date: | Tue, 15 Jul 2008 16:34:25 +0000 |
| Subject: | RE: [PHP] mkdir permission errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-276858@lists.php.net to get a copy of this message | ||
> Nope, I have set mine to 755, and it does not seem to be giving me any errors. This is the
> safer way to do it, right?
>
> Alice
Alice,
At this point, you need to re-install the OS or prepare to get your machine completely hacked and
trashed. With your permissions that badly screwed up, it is only a matter of time before someone
finds it and has their own ghost server.
First, go pick up a System Admin book for Redhat
Second, READ IT, Especially the parts on permissions and changing users
Third, Re-install the OS
Fourth, read the CLI vs. HTTP differences on programming languages you are using. Obviously Perl
and PHP are going to give you the same errors when using the HTTP and will operate differently from
the CLI unless running as the same user.
This might even help your schooling. Hopefully your classroom exercises are further along then
these basic principles, but if not I have severe doubts in anyone graduating with an MIS from
Indiana University.
Wolf