Displaying 2 results from an estimated 2 matches for "rsync_acl_fake_perms".
2006 Dec 01
1
Bug#401189: rsync: using rltvz options spews sys_acl_get_file messages
...acls.c 2006-12-01 16:16:43.000000000 +0100
@@ -515,7 +515,7 @@
free_acl(sxp);
return -1;
}
- } else if (errno == ENOTSUP) {
+ } else if (errno == ENOTSUP || errno == ENOSYS) {
/* ACLs are not supported, so pretend we have a basic ACL. */
if (type == SMB_ACL_TYPE_ACCESS)
rsync_acl_fake_perms(racl, sxp->st.st_mode);
@@ -1058,6 +1058,9 @@
if (sacl == NULL) {
/* Couldn't get an ACL. Darn. */
switch (errno) {
+ case ENOSYS:
+ /* ACL functions aren't implemented... */
+ break;
case ENOTSUP:
/* ACLs are disabled. We could yell at the user to turn them on, but...
2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
This is a PoC patch for NFSv4/ZFS ACLs.
The objective of the patch is that rsync --acls support NFSv4/ZFS ACLs
without requiring a new command line option
NFSv4 ACLs can't be represented using POSIX draft ACLs, if an NFSv4 ACL is
present a separate POSIX draft ACL will not be present and there are new
APIs
to access NFSv4 ACLs. So we need to distinguish between NFSv4 ACLs and
POSIX
ACLs in