MCPcopy Create free account
hub / github.com/RsyncProject/rsync / receive_acl

Function receive_acl

acls.c:786–792  ·  view source on GitHub ↗

Receive the ACL info the sender has included for this file-list entry. */

Source from the content-addressed store, hash-verified

784
785/* Receive the ACL info the sender has included for this file-list entry. */
786void receive_acl(int f, struct file_struct *file)
787{
788 F_ACL(file) = recv_rsync_acl(f, &access_acl_list, SMB_ACL_TYPE_ACCESS, file->mode);
789
790 if (S_ISDIR(file->mode))
791 F_DIR_DEFACL(file) = recv_rsync_acl(f, &default_acl_list, SMB_ACL_TYPE_DEFAULT, 0);
792}
793
794static int cache_rsync_acl(rsync_acl *racl, SMB_ACL_TYPE_T type, item_list *racl_list)
795{

Callers 1

recv_file_entryFunction · 0.85

Calls 1

recv_rsync_aclFunction · 0.85

Tested by

no test coverage detected