Project

General

Profile

Actions

Bug #3780

closed

Register dataset with data file fails on saeon skin

Added by Michael Daigle about 15 years ago. Updated about 15 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.

Actions #1

Updated by Michael Daigle about 15 years ago

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

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3780

Actions

Also available in: Atom PDF