PclZip temporary files problem
Brought to you by:
vblavet
Hi !
Temporary .gz files are created in the same directory
than the source file, therefore requesting to give write
permissions for that directory.
I think this isn't very good, and consider this as a bug
because of security issues
I suggest that temporary .gz files be created in the
directory PCL_TEMPORARY_DIR, by changing the
$p_filename.'gz' in PCL_TEMPORARY_DIR.basename
($p_filename).'gz'.
Bests regards
Logged In: YES
user_id=196616
im not sure...if it is the same problem... i tried to get a
solution...
e.g.: /runningfolder/runningscript.php
i need to chmod 777 the /runningfolder/ to have no errors
[code -2] but this is a secure problem!
when changing the tmp path , PCL_TEMPORARY_DIR to a full
or relativ path, no changes take effect :-(
any ideas?
i have no root rights on the server to change anything :-(
on a home windows/apache server i have NO limitations or
errors ,
actually the script is really cool! :-)
flobee
Logged In: YES
user_id=810712
Use the workaround I mentionned at the end of my bug report.
This corrects the problem.
In fact the PCL_TEMPORARY_DIR is not used for creating the
zips that will be added to the full zip (created in the
PCL_TEMPORARY_DIR).
No changes have to be made for Windows, because you have the
rights to do everything you want under Windows ;)