Are NTFS permissions/ACLS supported in libguestfs?
Issue
- When trying to mount VMDK snapshot images trough guestmount, the permissions are not kept on the files.
# guestmount -a image-flat.vmdk -i -m /dev/sda3:/:acl,user_xattr:ntfs --ro /mnt/vmdk
# cd /mnt/vmdk/
# ll
total 12
drwxrwxrwx 1 root root 4096 Aug 22 2012 folder1
drwxrwxrwx 1 root root 4096 Feb 21 2012 Logs
drwxrwxrwx 1 root root 0 May 29 2013 PerfLogs
drwxrwxrwx 1 root root 4096 May 23 2013 $RECYCLE.BIN
drwxrwxrwx 1 root root 0 Feb 22 2012 System Volume Information
drwxrwxrwx 1 root root 0 Jun 24 12:38 TestPerms
getfaclshows no permissions:
# getfacl TestPerms/
# file: TestPerms/
# owner: root
# group: root
user::rwx
group::rwx
other::rwx
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
