EDIT: It was two issues--One was a permissions problem (DOH!)

But even after that was resolved, installing modules via the link kept taking me to a page wanting me to confirm file system changes--which threw me 505s when I entered the information it asked for. I created two new directories (one for temp files and one for private downloads) at ~/ and plugged that info into the file system settings. Voila! No more errors.

Original issue:
Earlier today I was able to install Views via the "install new module" link on the modules page of a Drupal 7.x beta 2 installation. Now when I attempt this on a different account on the same server, I get the following when I attempt to install Views:
File temporary://update-extraction/views/ already exists and is write protected

As a test, I tried installing a different module--Administration Menu--using that method, and got the following errors:
* The specified file temporary://filezhfuMD 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/admin_menu-7.x-3.x-dev.tar.gz could not be saved to temporary://update-cache/admin_menu-7.x-3.x-dev.tar.gz.
* Unable to retrieve Drupal project from http://ftp.drupal.org/files/projects/admin_menu-7.x-3.x-dev.tar.gz.

I have tried to find the directory mentioned in the error messages, but to no avail. My installation is nested as follows ~/0sandbox1/blog7sand1

Before I start messing with everything (and possibly breaking things worse), I figured I should ask for help, as I assume I must be missing something fairly simple. I have a few redirects in my .htaccess file, but I wouldn't think that would affect this.
Help?

Comments

mosk’s picture

Hey - I'm getting the same error message even after changing my permissions. COuld you explain how you solved things in more detail? Thanks.

christopher james francis rodgers’s picture

2011.06.06

DO NOT Use "~". Do NOT use "/....."

All you really need to do if you are having problems is to remove the forward-slash ("/") from "/tmp"
and specify 

tmp 

only at --> [Your-D7-root-home] » Administration » Configuration » Media: File system » Temporary directory.

See http://drupal.org/node/1106492#comment-4562780 for more details if you want them.

==============

Unfortunately I can not change my earlier posts below that have been replied to.


All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *

christopher james francis rodgers’s picture

The solution for me was simply..
.
Go to 'Configuration' > 'Media' > 'File System'
[*root*]/admin/config/media/file-system
and change the 'Temporary directory' from
/tmp to /tmp3

==============
.2011.03.26 - I updated this post to refine the work-around solution.

See http://drupal.org/node/1106492 for all the details.


All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *

philosurfer’s picture

or whatever your real temp directory is....
not every one is "/tmp3"

cpanels usually list this in the left column...

-
We are the cult of personality.
-

christopher james francis rodgers’s picture

DO NOT Use "~". Do NOT use "/....."

All you really need to do if you are having problems is to remove the forward-slash ("/") from "/tmp"
and specify 

tmp 

only at --> [Your-D7-root-home] » Administration » Configuration » Media: File system » Temporary directory.

See http://drupal.org/node/1106492#comment-4562780 for more details if you want them.


All the best; intended.
-Chris (great-grandpa.com)
___
"The number one stated objective for Drupal is improving usability." ~Dries Buytaert *