I'm not sure what's going on, I have a fresh Drupal install, and the default/files folder is set to 777

Whenever I go to create content I get this error:

* warning: mkdir() [function.mkdir]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 841.
* warning: chmod() [function.chmod]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 842.
* warning: mkdir() [function.mkdir]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 848.
* warning: chmod() [function.chmod]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 849.
* warning: mkdir() [function.mkdir]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 850.
* warning: chmod() [function.chmod]: No such file or directory in /nfs/raven/u2/c/castlej/public_html/drupal-6.5/modules/gallerix/gallerix.module on line 851.

If I manually create the folder gallerix/albums /repository /trash, I still get the same errors but if I keep trying eventually the file structure for an album will be created. The images are 403-forbidden'd though. How did I mess this up?

Comments

silviogutierrez’s picture

Status: Active » Postponed (maintainer needs more info)

Jcastle,

Are you allowed to make directories through mkdir by your host?

Silvio

jcastle’s picture

I'm not sure what happened to my install. I did a fresh copy of of drupal and everything worked.

vako’s picture

I'm having the same issue, but can't do "a fresh copy of Drupal", is there another solution? It was working great a week ago without any modifications.

AlexisWilke’s picture

Title: Directory Permissions Problem » Directory Permissions Problem -- use Drupal create directory functions
Status: Postponed (maintainer needs more info) » Active

The module currently makes use of the mkdir() and chown() directly instead of using the Drupal equivalents. I will change that behavior sooner or later. Also the main folders are created on install. If that breaks, then you won't get them re-generated.

Thank you.
Alexis