Project

General

Profile

Bug #3780

Register dataset with data file fails on saeon skin

Added by Michael Daigle over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Immediate
Category:
metacat
Target version:
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.

History

#1 Updated by Michael Daigle over 10 years ago

Changed the MetacatUtil.writeTempFile to write to an "upload" temp directory to avoid conflicts with the registry code.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3780

Also available in: Atom PDF