Download & Extend

Directory Permissions Problem -- use Drupal create directory functions

Project:Gallerix
Version:6.x-1.4-beta1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

Status:active» postponed (maintainer needs more info)

Jcastle,

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

Silvio

#2

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

#3

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.

#4

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