Project

General

Profile

Bug #2976

User with rights given Permission denied for user public update

Added by Callie Bowdish almost 13 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
10/05/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2976

Description

When using a profile called nceasadminCB, that should have rights, to update a data package using Morpho I get <error>"Permission denied for user public update </update> in the stderr.log. Morpho just stops the save process.

nceasadminCB.xml file

<profile> <firstname>Callie</firstname>
<lastname>Bowdish</lastname>
<username>nceasadmin</username>
<datadir>data</datadir>
<cachedir>cache</cachedir>
<tempdir>temp</tempdir>
<queriesdir>queries</queriesdir>
<searchmetacat>true</searchmetacat>
<searchlocal>false</searchlocal>
<casesensitive>false</casesensitive>
<includesynonyms>false</includesynonyms>
<scope>nceas</scope>
<lastId>347</lastId>
<separator>.</separator>
<profilename>nceasadminCB</profilename>
<organization>NCEAS</organization>
<dn>uid=nceasadmin,o=NCEAS,dc=ecoinformatics,dc=org</dn>
</profile>

I tried to update a file with the following access rights:
chadden.48.2

&lt;access authSystem="knb" order="denyFirst" scope="document"&gt; &lt;allow&gt; &lt;principal&gt;uid=nceasadmin,o=NCEAS,dc=ecoinformatics,dc=org&lt;/principal&gt;
&lt;permission&gt;all&lt;/permission&gt; &lt;/allow&gt; &lt;allow&gt; &lt;principal&gt;uid=chadden,o=NCEAS,dc=ecoinformatics,dc=org&lt;/principal&gt; &lt;permission&gt;all&lt;/permission&gt; &lt;/allow&gt; &lt;allow&gt; &lt;principal&gt;public&lt;/principal&gt; &lt;permission&gt;read&lt;/permission&gt; &lt;/allow&gt; &lt;/access&gt;

This is part of the stderr.log:

Name: action => update
Name: public => no
message from server:
<error>
Permission denied for user public update
</error>

MetacatUpload Exception in EML200DataPackage!

<error>
Permission denied for user public update
</error>

Problem Saving

<error>
Permission denied for user public update
</error>

History

#1 Updated by Jing Tao almost 13 years ago

Hi, callie:

It seems the update action was made by user public rather than nceasadminCB. Could you double check if the morpho is still login as nceasadminCB?

#2 Updated by Jing Tao about 11 years ago

I guess somehow the server restart and user logout. So user is public now.

#3 Updated by Redmine Admin over 7 years ago

Original Bugzilla ID was 2976

Also available in: Atom PDF