Thank you for providing the 7.24 security update.

I upgraded to 7.24 today and cannot locate my /tmp directory to place a .htaccess file there. The /#overlay=admin/config/media/file-system page shows my "Temporary directory" to be "/tmp". I only have ftp access to my server and do not see /tmp at the top level.

ftp> pwd
Remote directory: /
ftp> dir tmp
229 Extended Passive mode OK (|||35728|)
150 Accepted data connection
226-Options: -a -l
226 0 matches total

Is there some place else I should be looking? I tried making a /tmp and putting .htaccess in it, but this did not clear the error message on the /admin/reports/status page.

Do you have any suggestions for what I should try to fix this?

Thanks,
Michael

Comments

whoey’s picture

I have a bunch of D6/D7 sites on shared hosting, what I did is create a new tmp directory just outside my main site root, and inside drupal set the absolute path to it such as /var/www/website.tld/prefix.website.tld/tmp where your htdocs folder is /var/www/website.tld/prefix.website.tld/htdocs.

Your setup may be different, but it should work.

mjschuh’s picture

Thanks for the help. I could not find an "htdocs" folder so I made a "tmp" folder in the "sites" and set the "Temporary directory" to "sites/tmp" on the /#overlay=admin/config/media/file-system page. The "Public file system path" is set to "sites/default/files" for my site. I am not sure using "sites/tmp" this satisfies the "This directory should not be accessible over the web" warning. I am not sure how to check either. Doing this did get rid of the error message.