Closed (fixed)
Project:
Backup and Migrate
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 19:19 UTC
Updated:
16 Feb 2012 at 15:51 UTC
This is driving me crazy- can anyone please help
Where is this temp directory?
I have made tmp and this module folder 777 permissions
* Your temporary directory is not writable. Backup and migrate needs to be able to create temporary files.
* The file /backup_migrate_4a8ef241d6f43.mysql cannot be written to.
* Could not backup the database.
Thanks
Comments
Comment #1
ronan commentedYour temp directory is set at: admin/settings/file-system
On most systems the directory should be /tmp but check with your host if that doesn't work.
DO NOT and I emphasize DO NOT set the module directory to 777. Set it back right now and don't set any directories with executable code in them to be writable.
Hope this helps
Comment #2
iaminawe commentedThank you. I didnt change permissions on my whole module folder, just on the backup migrate module. I have changed them back now, Thanks.
I checked and my module folder is 755. Is that ok?
Thanks for the help
Gregg
Comment #3
ronan commentedYup that should be fine.
Comment #5
gstout commentedFYI: Your temp directory can be changed at admin/settings/file-system.
When I migrated from local development to my webserver using "Backup and Migrate" my tmp was still set to "c:/blah/blah/tmp"
a quick change of the Temporary directory: to /sites/default/files/tmp
fixed this issue for me.
Hope this helps.
Greg
Comment #6
jebernier commentedMy tmp directory is set to sites/default/files/tmp but the box around tmp is red, what does this mean?
The permissions for /tmp are 0755.
I keep getting the "Your temporary directory is not writable" error.
Any assistance would be appreciated.
Regards,
John
Comment #7
ronan commented@jebernier Is your temp directory owned by the user that your web server runs as? If not you may need to add group write (775) or everybody write (777) access to that folder (these come with risks, so consult your web host for help).
Comment #8
jebernier commentedThanks, I'll check with my host. I have another site on the host and the module works fine on that site.