Actions
Bug #3780
closedRegister dataset with data file fails on saeon skin
Start date:
01/27/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
3780
Description
Registering a data set on the saeon skin with a data file fails. It comes back with the following error: "Failed to upload file. Error was:"
The metacat log has:
IO exception which writing temporary file: null /var/metacat/temporary/discoverBackup.txt (Permission denied) [edu.ucsb.nceas.metacat.MetaCatServlet]
It looks like the registry code and metacat code are trying to write the same file. Since the registry writes it as the Apache user, metacat cannot (and should not) change it.
Updated by Michael Daigle almost 16 years ago
Changed the MetacatUtil.writeTempFile to write to an "upload" temp directory to avoid conflicts with the registry code.
Actions