Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2020 15:06:37 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        "TIM KELLERS" <trkellers@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Trying to copy sysvol with rsync
Message-ID:  <4415b42d8babae571a7d0fa4d792be46.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <dfb731cc-c37c-1893-e407-2ac5dfda9c63@gmail.com>
References:  <912e0c678744e1ef1b12a42e6e96f9ca.squirrel@webmail.harte-lyne.ca> <dfb731cc-c37c-1893-e407-2ac5dfda9c63@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, May 8, 2020 14:02, TIM KELLERS wrote:
>
> Do you have ACLs enabled on the filesystem?
>

DC2 is an iocage jail running in a zfs dataset.  The acl settings for that
dataset are:


zroot/iocage/jails/samba-02/root  aclmode                 passthrough          
                                inherited from zroot/iocage/jails
zroot/iocage/jails/samba-02/root  aclinherit              passthrough          
                                inherited from zroot/iocage/jails


zroot/iocage/jails/samba-02  aclmode        passthrough                        
             inherited from zroot/iocage/jails
zroot/iocage/jails/samba-02  aclinherit     passthrough                        
             inherited from zroot/iocage/jails


zroot/iocage/jails  aclmode                 passthrough             local
zroot/iocage/jails  aclinherit              passthrough             local


zroot/iocage  aclmode                       passthrough             local
zroot/iocage  aclinherit                    passthrough             local


zroot  aclmode                              discard                 default
zroot  aclinherit                           restricted              default


     aclmode=discard | groupmask | passthrough | restricted
         Controls how an ACL is modified during chmod(2).  A file system with
         an aclmode property of discard (the default) deletes all ACL entries
         that do not represent the mode of the file. An aclmode property of
         groupmask reduces permissions granted in all ALLOW entries found in
         the ACL such that they are no greater than the group permissions
         specified by chmod(2).  A file system with an aclmode property of
         passthrough indicates that no changes are made to the ACL other than
         creating or updating the necessary ACL entries to represent the new
         mode of the file or directory.  An aclmode property of restricted
         will cause the chmod(2) operation to return an error when used on any
         file or directory which has a non-trivial ACL whose entries can not
         be represented by a mode.  chmod(2) is required to change the set
         user ID, set group ID, or sticky bits on a file or directory, as they
         do not have equivalent ACL entries.  In order to use chmod(2) on a
         file or directory with a non-trivial ACL when aclmode is set to
         restricted, you must first remove all ACL entries which do not
         represent the current mode.

I gather from the property setting of aclmode=passthrough for the jail that acl
is turned on.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4415b42d8babae571a7d0fa4d792be46.squirrel>