Fix an NFS server bug that manifested in "ls -al" displaying a plus
sign on every directory exported via NFSv4 with NFSv4 ACLs enabled. Reviewed by: rmacklem@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3502
This commit is contained in:
parent
a541e005da
commit
1604109813
@ -347,6 +347,8 @@ nfsrv_buildace(struct nfsrv_descript *nd, u_char *name, int namelen,
|
||||
acemask |= NFSV4ACE_WRITEACL;
|
||||
if (ace->ae_perm & ACL_WRITE_OWNER)
|
||||
acemask |= NFSV4ACE_WRITEOWNER;
|
||||
if (ace->ae_perm & ACL_SYNCHRONIZE)
|
||||
acemask |= NFSV4ACE_SYNCHRONIZE;
|
||||
} else {
|
||||
if (ace->ae_perm & ACL_READ_DATA)
|
||||
acemask |= NFSV4ACE_READDATA;
|
||||
|
Loading…
Reference in New Issue
Block a user