Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: XLSX tmp file error

by jmcnamara (Monsignor)
on Mar 02, 2012 at 20:15 UTC ( #957544=note: print w/replies, xml ) Need Help??

in reply to XLSX tmp file error

You can change the default temp dir that Excel::Writer::XLSX uses via the set_tempdir() method.


Replies are listed 'Best First'.
Re^2: XLSX tmp file error
by vishi83 (Pilgrim) on Mar 05, 2012 at 17:08 UTC
    Hi John,

    Glad to hear from you!
    I tried with 0.46 version of XLSX module.. But after setting the tmp dir in this way,
    I still see this error,
    Couldn't create sub directory /opt/apache/secure-htdocs/exceldir/CQ2RN +O0V36/xl/worksheets: Permission denied at /opt/perl-5.8.3/lib/site_pe +rl/5.8.3/Excel/Writer/XLSX/ line 809
    I've given 777 permissions to the exceldir folder with ownership belonging to the web user..