summaryrefslogtreecommitdiffstats
path: root/tests/virt_builder_source.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2018-04-24 09:18:26 +0100
committerRadostin Stoyanov <rstoyanov1@gmail.com>2018-04-28 23:15:53 +0100
commitbc2744cea7800f7b84e1731e367e75b0f2d60d48 (patch)
tree2fe9bdc824affd4c8baa17e2430be3d1d89544cb /tests/virt_builder_source.py
parentf389756a192b6b6ad0951856d8681cc2077ccf6b (diff)
downloadvirt-bootstrap.git-bc2744cea7800f7b84e1731e367e75b0f2d60d48.tar.gz
virt-bootstrap.git-bc2744cea7800f7b84e1731e367e75b0f2d60d48.tar.xz
virt-bootstrap.git-bc2744cea7800f7b84e1731e367e75b0f2d60d48.zip
safe_untar: Check for permissions to set attribs
Make sure we have permissions to restore file extended attributes. [1] ... all processes have read access to extended security attributes, and write access is limited to processes that have the CAP_SYS_ADMIN capability. [2] The file owner and processes capable of CAP_FOWNER are granted the right to modify ACLs of a file. This is analogous to the permissions required for accessing the file mode. (On current Linux systems, root is the only user with the CAP_FOWNER capability.) [1] https://linux.die.net/man/5/attr [2] https://linux.die.net/man/1/setfacl Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Diffstat (limited to 'tests/virt_builder_source.py')
0 files changed, 0 insertions, 0 deletions