Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am doing a nightly backup of an Ubuntu (9.10) server instance I have running on Amazon's EC2. This morning I started a new instance from the most recent saved image. When I ssh into the instance created from the image the ACLs I created on the original instance are not in place.

The acl option is working on the mounted drive and I can run setfacl and getfacl fine on the folders but the permissions returned from getfacl are not the same between the instances.

The mostly likely reason for this I suppose is that wherever the acl permissions are stored doesn't get copied as part of ec2-bundle-vol but I don't know where the acls are stored and so I don't know how to copy and restore them on the newly created instance.

share|improve this question
up vote 2 down vote accepted

ec2-bundle-vol does not appear to pass the -A option to rsync when it's building the bundle. You'll need to add this to the source so that ACLs are copied.

Try changing '-rlpgoD' to '-rlpgoDA' in a file named something like /usr/lib/ec2-ami-tools/lib/ec2/platform/linux/rsync.rb (though it could have been installed in a completely different directory, depending on your distro).

share|improve this answer
Ha, I just saw your post on the AWS forums as well. Is using ACLs really that unusual? – Bryan J Swift Dec 11 '10 at 4:29
Also, it looks like this should absolutely work. I didn't really think to go digging in the source of the tools too look for an answer. Thank you. – Bryan J Swift Dec 11 '10 at 4:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.