sspks icon indicating copy to clipboard operation
sspks copied to clipboard

Allow to override /tmp

Open picrap opened this issue 3 years ago • 2 comments

For some obscure reasons, when the cache directory is set to a /tmp subdirectory, the move fails when parsing packages:

[Mon Aug 16 11:28:34.237121 2021] [php7:warn] [pid 52168] [client x.x.x.x:35371] PHP Warning:  rename(/tmp/PACKAGE_ICON.PNG,/tmp/cache/sspks/xxx-9.0.14924.1615beta_thumb_72.png): No such file or directory in /xxx/content/20210816T110645/lib/sspks/lib/SSpkS/Package/Package.php on line 217

It seems that private tmp only works partially?

picrap avatar Aug 16 '21 09:08 picrap

The simplest option is probably to always use the cache directory or maybe the /dev/shm

picrap avatar Aug 16 '21 09:08 picrap

Relates to #68

picrap avatar Dec 08 '21 17:12 picrap