[chef] what to do if object (cookbook here) has empty list of permissions


Chronological Thread 
  • From: Александр Никифоров < >
  • To:
  • Subject: [chef] what to do if object (cookbook here) has empty list of permissions
  • Date: Wed, 11 Feb 2015 13:28:09 +0400

Hello everyone.

I have a cookbook with which I can't do any operation. Nor delete nor update or anything else. Even though I'm using client from admins group in my knife.rb. I don't have any problem with any other object.

After some research it looks like this particular cookbook has empty list of permissions. So I have no rights for it even as admin.

$ knife cookbook show testa 0.1.0
ERROR: You authenticated successfully to https://chef/organizations/ola as admin but you are not authorized for this action
Response:  missing read permission

$ knife show /acls/cookbooks/testa.json
ERROR: Chef::ChefFS::FileSystem::OperationFailedError: HTTP error reading: 403 "Forbidden"

I tried to use user pivotal as client (from advice on irc channel) from the server itself but got the same result.

Should I directly edit something in postgresql db to avoid this misbehavior ?



Archive powered by MHonArc 2.6.16.

§