Bug 1129110 - Libguestfs NTFS not setting ACLs
Summary: Libguestfs NTFS not setting ACLs
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1127220
TreeView+ depends on / blocked
 
Reported: 2014-08-12 09:08 UTC by Richard W.M. Jones
Modified: 2021-04-19 10:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1127220
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-08-12 09:08:46 UTC
Description of problem:
When using guestmount to try backing up images once a snapshot has been taken (vmdk), We can't see any ACL in place

Version-Release number of selected component (if applicable):
libguestfs-1.20.11-8.el6.x86_64
libguestfs-debuginfo-1.20.11-8.el6.x86_64
libguestfs-devel-1.20.11-8.el6.x86_64
libguestfs-java-1.20.11-8.el6.x86_64
libguestfs-java-devel-1.20.11-8.el6.x86_64
libguestfs-javadoc-1.20.11-8.el6.x86_64
libguestfs-tools-1.20.11-8.el6.x86_64
libguestfs-tools-c-1.20.11-8.el6.x86_64
ocaml-libguestfs-1.20.11-8.el6.x86_64
ocaml-libguestfs-devel-1.20.11-8.el6.x86_64
perl-Sys-Guestfs-1.20.11-8.el6.x86_64
python-libguestfs-1.20.11-8.el6.x86_64
ruby-libguestfs-1.20.11-8.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Mount vmdk with following command:

# guestmount -a guestname-flat.vmdk -i -m /dev/sda3:/:acl,user_xattr:ntfs --ro /mnt/vmdk

2. Check ACL with getfacl:
# cd /mnt/vmdk/
# ll
total 12
drwxrwxrwx 1 root root 4096 Aug 22  2012 ccmcache
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

# getfacl TestPerms/
# file: TestPerms/
# owner: root
# group: root
user::rwx
group::rwx
other::rwx

Actual results:
No ACLs in place

Expected results:
Get the ACLs

Additional info:

The original reporter attached a disk image.  Since this contains
customer-sensitive information, this is available to
Red Hat associates only on private bug 1127220.


Note You need to log in before you can comment on or make changes to this bug.