Menu

#178 dsps try to write to illegal directory

open
nobody
None
5
2012-12-07
2003-11-18
No

7-zip 3.09.02

Some of the dsp files in 7-zip hardcode the output to

C:\Program Files\7-zip\...

and C:\Program Files is a directory that is not writable to
normal users, so it is a particularly inconvenient
output --
I can't simply create that directory (it isn't writable) --
I have to change the output in every such dsp.

Would you consider using relative paths instead, so as to
write to somewhere nearby and allowable to the normal
user ?

I could submit a patch ?

Discussion

  • Igor Pavlov

    Igor Pavlov - 2003-11-18

    Logged In: YES
    user_id=65083

    C:\Program Files\7-zip\... is good for me.
    It allows me to test exe/dll just after compiling.

     
  • Anonymous

    Anonymous - 2003-11-18

    Logged In: YES
    user_id=60964

    Ok, I was afraid you might not want to change it.

    Do you want to mark the bug rejected and close it ?

    I'll live with it :)

    I'll just have to administratively create those directories,
    because I don't want to maintain separate dsps, and then
    copy the files back after they get created there -- a batch
    file will probably be good for that. I'm trying to test some
    code written against 3.09.02 sources at the moment, but
    hope to update it later, after I understand the changes
    in the archivecallback interface from 3.09.02 to 3.10.

     

Log in to post a comment.