vCenter

 View Only
  • 1.  VMware Converter Standalone drops acls from files

    Posted Apr 02, 2019 10:17 AM

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



  • 2.  RE: VMware Converter Standalone drops acls from files

    Broadcom Employee
    Posted Apr 02, 2019 03:13 PM

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

    The bug is filed for future release.



  • 3.  RE: VMware Converter Standalone drops acls from files
    Best Answer

    Posted Apr 03, 2019 07:28 AM

    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