Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File system permission error while installing drupal modules

When I try to install new modules to drupal 7 via "Install new module" form, I get following error message.

  • The specified file temporary://fileTFJ015 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/date-7.x-1.0-alpha2.tar.gz could not be saved to temporary://update-cache/date-7.x-1.0-alpha2.tar.gz.
  • Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/date-7.x-1.0-alpha2.tar.gz.

My Drupal 7 is installed with CPanel QuickInstall tool and hosted with HostGator shared hosting service. Any ideas how to solve this issue?

like image 498
user506259 Avatar asked Feb 18 '11 11:02

user506259


People also ask

How do I change permissions in Drupal?

Other users on your site can be assigned permissions via roles. To do this, you first need to create a role by navigating to people --> permissions --> role. A common role is "Content editor" or "Member". Next, you will assign permissions to that role, to tell Drupal what that role can and can't do on the site.

How do I enable Drupal modules?

Using the Drupal User Interface (easy): Navigate to the Extend page (admin/modules) via the Manage administrative menu. Locate the module(s) you wish to enable and check the box next to each one. Click Install to enable (turn on) the new module(s)


1 Answers

There is an issue with shared hosts and temp folders...if you want the background you can read this:

http://drupal.org/node/1008328

in the meantime try changing your tmp folder to be relative to your sites file root:

sites/default/files/temp

like image 200
jpstrikesback Avatar answered Oct 16 '22 02:10

jpstrikesback