Receive the ACL info the sender has included for this file-list entry. */
| 784 | |
| 785 | /* Receive the ACL info the sender has included for this file-list entry. */ |
| 786 | void 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 | |
| 794 | static int cache_rsync_acl(rsync_acl *racl, SMB_ACL_TYPE_T type, item_list *racl_list) |
| 795 | { |
no test coverage detected