[support] mkdir permissions issue

Jason Flatt drupal at oadaeh.net
Thu Jan 10 06:02:31 UTC 2008


If you were actually setting the files to 0777 with chmod, as you indicated in 
your previous e-mail, then those files were set to be executable. On my 
systems, none of my PHP files are set to 0777. They're set to 0660.

On Wednesday, January 9 2008 8:36:21 pm Tom Holmes Jr. wrote:
> Ah ... it turns out, that on Linux, files need to be set 'executable'
> in order to execute php scripts ...
>
> who knew ...?
>
> Tom Holmes Jr. wrote:
> > I am using the Import HTML Module and it works to a point.   I have HTML
> > Tidy, XML, and XSLT configured within PHP/Drupal.
> > I can pick the source directory, I can see the structure of the web-site
> > I want to import, and I am selecting one file to test.
> > I can get this error message:
> > warning: mkdir() [function.mkdir
> > <http://localhost/labmice/admin/import_html/function.mkdir>]: Permission
> > denied in
> > /opt/apache/www/labmice/sites/all/modules/import_html/coders_php_library/
> >file-routines.inc on line 164.
> >
> > I have a files/imported directory already created under Drupal.   The
> > permissions for this is chmod 0777 and it is set for public.
> > I am running my Apache web-server on my system as root ....  and /tmp is
> > owned by root ...
> > So, I am thinking all the permissions should be fine ... but for some
> > reason I get this error message?
> >
> > Any ideas on what it is I setup wrong, or what I am doing wrong?
> > If anyone needs anymore information ... please let me know.   Thanks!
> >
> >                     Tom



-- 
Jason Flatt
http://www.oadaeh.net/
Father of Six:  http://www.flattfamily.com/ (Joseph, 14; Cramer, 12; Travis, 
10; Angela; Harry, 7; and William, 12:04 am, 12-29-2005)
Linux User:     http://www.xubuntu.org/
Drupal Fanatic: http://drupal.org/


More information about the support mailing list