Module install error

Events happening in the community are now at Drupal community events on www.drupal.org.
tstevens21's picture

Getting an error whenever I try install a new mod in Drupal 7 - here is the latest from trying to install Omega 3 (not the fatty acids variety) -

The specified file temporary://fileYbyRqs could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
http://ftp.drupal.org/files/projects/omega-7.x-3.1.tar.gz could not be saved to temporary://update-cache-609ec84e/omega-7.x-3.1.tar.gz.
Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/omega-7.x-3.1.tar.gz.

And here is the log message:
The file permissions could not be set on temporary://update-cache-609ec84e.

Any pointers appreciated,
Ted

Comments

How is your PHP running

wkern's picture

are you running mod_php (as the 'apache' user) or are you running
a suExec/FastCGI setup?

Then compare the permissions on the target directory and make sure they match the user you are 'operating' as.

How is your PHP running

tstevens21's picture

Apparently neither (CGI - which I'm guessing is the default from StartLogic) - here is output from phpinfo() -

PHP Version 5.2.17

System

Linux boscustweb2903.eigbox.net 3.2.44 #1 SMP Tue May 14 15:31:28 EDT 2013 x86_64

Build Date

Mar 4 2011 17:05:45

Configure Command

'./configure' '--prefix=/usr/local/lib/php-5.2.17' '--disable-ipv6' '--without-apache' '--with-mysql=/usr' '--with-mysqli' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--disable-debug' '--enable-discard-path' '--enable-inline-optimization' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-memory-limit' '--with-regex=system' '--with-zlib' '--enable-ftp' '--enable-sockets' '--enable-magic-quotes' '--with-gettext' '--enable-wddx' '--with-gdbm' '--with-db4' '--with-freetype-dir=/usr' '--with-curl=/usr' '--with-mhash' '--with-xsl' '--enable-calendar' '--with-mcve' '--with-dom' '--with-iconv' '--with-xmlrpc' '--with-mcrypt' '--with-bz2' '--with-ming=/usr' '--with-pspell' '--with-openssl' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--enable-bcmath' '--enable-dbase' '--enable-exif' '--with-pdo-mysql' '--enable-zip'

Server API

CGI

Virtual Directory Support

disabled

Configuration File (php.ini) Path

/usr/local/lib/php-5.2.17/lib

Is this the target dir ?

Thanks,
Ted

/tmp

fejn's picture

Hi Ted,

Sorry to hear you are having trouble with this. This post describes the kind of thing I had to do to successfully create a /tmp directory on BlueHost:
https://drupal.org/node/1429086

This may not solve your problem, but all I had to do was create a 'tmp' directory under my home directory on my host, & then specify the 'temporary directory' under Admin >> Configuration >> Media >> File Systems as '/tmp'

HTH, Jeff

Resolved - thanks Jeff

tstevens21's picture

Thanks Jeff - the solution was to create a /tmp dir under sites as you suggested.

Best Regards,
Ted

Good to hear it worked!!

fejn's picture

Good to hear it worked!!

Ventura Drupal

Group categories

Event location

Ventura County

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: