VMware Cloud Community
tomuxi
Enthusiast
Enthusiast
Jump to solution

VMware Converter Standalone drops acls from files

With online Linux conversion, VMware Converter Standalone seems to drop acls that have been set with setfacl.

1 Solution

Accepted Solutions
tomuxi
Enthusiast
Enthusiast
Jump to solution

Perhaps a workaround for now would be to do manually in the source before conversion:

find / -maxdepth 1 -type d | egrep -v '^/(dev|proc|sys|tmp|run|)$' | getfacl --recursive --absolute-names --skip-base - | gzip > fs.acl.gz

And after conversion in the resulted machine:

zcat fs.acl.gz | setfacl --restore=- && rm fs.acl.gz

View solution in original post

2 Replies
POCEH
VMware Employee
VMware Employee
Jump to solution

Unfortunately you are right - the extended ACLs are not preserved with tar command.

The bug is filed for future release.

tomuxi
Enthusiast
Enthusiast
Jump to solution

Perhaps a workaround for now would be to do manually in the source before conversion:

find / -maxdepth 1 -type d | egrep -v '^/(dev|proc|sys|tmp|run|)$' | getfacl --recursive --absolute-names --skip-base - | gzip > fs.acl.gz

And after conversion in the resulted machine:

zcat fs.acl.gz | setfacl --restore=- && rm fs.acl.gz