Closed (works as designed)
Project:
backup
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2006 at 22:18 UTC
Updated:
3 Nov 2006 at 22:21 UTC
I think that we can use drupals file_directory_temp function.
line 176
- $tmp_dir = '/tmp';
+ $tmp_dir = file_directory_temp();
line 677
- $tmp_dir = '/tmp';
+ $tmp_dir = file_directory_temp();
Comments
Comment #1
dmuth commentedSadly, we can't. The reason for this, as I found out in the past, is that if you have the temporary directory underneath htdocs (necessary in some hosting setups), then you have a situation where tar tries to tar a directory that contains itself. It will (properly) throw an error in that case. :-/
-- Doug