mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
Merge pull request #8759 from ThomasWaldmann/fix-nfs4-acl-freebsd-1.4
freebsd: fix nfs4 acl processing, fixes #8756 (1.4-maint)
This commit is contained in:
commit
611708a1f2
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ cdef _nfs4_use_stored_uid_gid(acl):
|
|||
if entry:
|
||||
if entry.startswith('user:') or entry.startswith('group:'):
|
||||
fields = entry.split(':')
|
||||
entries.append(':'.join(fields[0], fields[5], *fields[2:-1]))
|
||||
entries.append(':'.join([fields[0], fields[5]] + fields[2:-1]))
|
||||
else:
|
||||
entries.append(entry)
|
||||
return safe_encode('\n'.join(entries))
|
||||
|
|
|
|||
Loading…
Reference in a new issue