JCVI-Cloud/mi-deployment — Issue #2: Updating cm_boot.py (in ec2autorun.py:_get_boot_script) makes the file inaccessible
Author: razrichter
Created: 2011-12-15 20:35:44+00:00
State: open

Somehow, the ACLs on the cm_boot.py file uploaded make it inaccessible.
Attempting to change or even read them results in a 401:permission denied error.
If I shut down cloudman and look at the database recreation script in /var/lib/eucalyptus/eucalyptus_walrus.script, the permission is set for full access for owner, and read-only for All Users, which should be OK. (e.g.
INSERT INTO GRANTS VALUES(1798,FALSE,TRUE,FALSE,FALSE,'http://acs.amazonaws.com/groups/global/AllUsers',NULL)
INSERT INTO GRANTS VALUES(1799,TRUE,TRUE,TRUE,TRUE,NULL,'rrichter')
)
However, the file is once again accessible if I remove the grant for AllUsers.
I'm not sure what's causing this.