]> git.proxmox.com Git - proxmox-backup.git/commit
pxar: fix directory ACL entry creation
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 2 Apr 2021 08:06:36 +0000 (10:06 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 2 Apr 2021 08:22:04 +0000 (10:22 +0200)
commit9f40e09d0a53a2a6b89e0cb3f60d5e46bfd7dbde
tree94b6ca10ad4c1b6cc9514d3c199f6cb36740694a
parent553e57f9142092ef3b54b95cb680b127d52a66cf
pxar: fix directory ACL entry creation

Don't override `group_obj` with `None` when handling
`ACL_TYPE_DEFAULT` entries for directories.

Reproducer: /var/log/journal ends up without a `MASK` type
entry making it invalid as it has `USER` and `GROUP`
entries.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/pxar/create.rs