[Borgbackup] ACLs not preserved

Bzzzz lazyvirus at gmx.com
Fri Feb 25 20:44:21 EST 2022


On Fri, 25 Feb 2022 23:43:47 +0100
d0 <public at enkore.de> wrote:

> I'm pretty sure sshfs supports neither ACLs nor extended attributes
> because sshfs is based on SFTP, which doesn't support any of that
> (afaik). Note that OpenSSH implements SFTP v3 and some extensions,
> not the later drafts.

It is only a part of the truth, xattrs can't be read nor set the normal
way on a NFS(v3|4) share, however there are special programs to do so :
nfs4_getfacl
nfs4_setfacl
nfs4_editfacl

Note that, of course, xattrs do not work the other way for borg (when
the client is mounting a remote server repo through NFS) and that
sendfile and scp do not retain the xattrs either.

Jean-Yves


More information about the Borgbackup mailing list