[Koha-bugs] [Bug 14321] Merge UploadedFile and UploadedFiles into Koha::Upload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 1 03:44:15 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14321

--- Comment #94 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #93)
> (In reply to David Cook from comment #92)
> > Just a FYI for people testing out permanent uploads.
> > 
> > If you're using "/tmp" as the "upload_path", you might want to check if
> > you're using "PrivateTmp". 
> 
> David: I would not recommend to user /tmp for permanent uploads. Note that
> File::Spec->tmpdir is also used for *temporary* uploads.
> The default for permanent uploads in Debian packaging is
> /var/lib/koha/instance/uploads.

That's why I said:

'Of course, you'd never actually use "/tmp" for storing a file permanently, as
"/tmp" should be deleted when your server next reboots (or if some other
clean-up job is running).'

Yeah, I don't use Debian packages, as I run Koha on openSUSE, and I don't think
there's any default path. By default, it's just empty, so up to the user to
decide where to put it. In my case, it would probably be,
"instance/var/uploads".

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list