I am struggling with understanding the ACL permission
This page (and all others that I've found so far) lists the
Does "adding" a file to a directory only include the file as empty file, or could "adding" include actual content of the file?
For example, when a user only has the
? Or would it be allowed to create a file with content as well, like echoing to a new file
or copying
?
add_file
of ZFS.This page (and all others that I've found so far) lists the
add_file
ACL access privilege as "Permission to add a new file to a directory."Does "adding" a file to a directory only include the file as empty file, or could "adding" include actual content of the file?
For example, when a user only has the
add_file
permission in the directory /archives
, can he/she only doCode:
touch /archives/thisFileSurelyDoesNotExistYet-380989.txt
? Or would it be allowed to create a file with content as well, like echoing to a new file
Code:
echo "Hello, this is my file, and I cannot do anything with it after I created it, cool huh?" > /archives/newFile-423122.txt
or copying
Code:
cp /home/troudee/current-testament.txt /archives/testament-2020-01-01.txt
?