when i run Cron i get the warning: opendir(/shared/upload_tmp) [function.opendir]: failed to open dir: Permission denied in /mounted-storage/home31c/sub003/sc27558-KKEN/www/includes/file.inc on line 888.

I have tryed a lot but cant get rid of this ?

Comments

pobster’s picture

So... Get permission? Else, change where your temporary directories are (someplace where you do have permission).

Pobster

bc@lyrstrand.dk’s picture

of cause i have changed permissions for the relevant dir's

nicholas llewellyn’s picture

I'd be interested in a resolve to this too, I get the following annoying message.

warning: opendir(/shared/upload_tmp) [function.opendir]: failed to open dir: Permission denied in /mounted-storage/home15b/sub002/sc17453-URRL/onajolly.co.uk/includes/file.inc on line 888.

I'm going to uptate to 6.13 today if I get a chance, it's probabykl one of the contributed modules, what module list are you using?

cryptosmith’s picture

I told GoDaddy to do a clean Drupal 7 install into an empty directory. I logged in as admin, and then I ran cron. This is what I got:

* Warning: opendir(/tmp/update-cache) [function.opendir]: failed to open dir: Permission denied in DrupalLocalStreamWrapper->dir_opendir() (line 700 of /home/content/70/7587670/html/aa/includes/stream_wrappers.inc).
* Warning: opendir(temporary://update-cache) [function.opendir]: failed to open dir: "DrupalTemporaryStreamWrapper::dir_opendir" call failed in file_scan_directory() (line 1975 of /home/content/70/7587670/html/aa/includes/file.inc).
* Warning: opendir(/tmp/update-extraction) [function.opendir]: failed to open dir: Permission denied in DrupalLocalStreamWrapper->dir_opendir() (line 700 of /home/content/70/7587670/html/aa/includes/stream_wrappers.inc).
* Warning: opendir(temporary://update-extraction) [function.opendir]: failed to open dir: "DrupalTemporaryStreamWrapper::dir_opendir" call failed in file_scan_directory() (line 1975 of /home/content/70/7587670/html/aa/includes/file.inc).

cryptosmith’s picture

I turned on the cache and the problem disappeared. Now D7 cron runs.