Permission denied - /tmp/amahi-download-cache/*
This issue (which first was reported in #946) has arisen again in Amahi 7. I reviewed the code and i do not see how this could happen, however,
#<Errno::EACCES: Permission denied - /tmp/amahi-download-cache/9142736ca853a31c463f9fe9dc15a54793363b95>
I want to catch this one so bad.
It's possible that doing amahi-download in an elevated script create this directory with wrong permissions (root:root) instead of proper permissions (apache:users).
We may have to change the location of this directory, e.g. /var/hda/download-cache/ because it appears /tmp is being cleared quickly these days, partially defeating the point of the cache.
Also available in: Atom