Bug #2976
closedUser with rights given Permission denied for user public update
0%
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
<access authSystem="knb" order="denyFirst" scope="document"> <allow> <principal>uid=nceasadmin,o=NCEAS,dc=ecoinformatics,dc=org</principal>
<permission>all</permission> </allow> <allow> <principal>uid=chadden,o=NCEAS,dc=ecoinformatics,dc=org</principal> <permission>all</permission> </allow> <allow> <principal>public</principal> <permission>read</permission> </allow> </access>
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>
Updated by Jing Tao about 17 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?
Updated by Jing Tao about 15 years ago
I guess somehow the server restart and user logout. So user is public now.