Menu

#5 PclZip temporary files problem

open
5
2003-06-27
2003-06-27
No

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

Discussion

  • flobee

    flobee - 2003-12-03

    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

     
  • Arnaud Tamaillon

    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 ;)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.