We should never just assign an st_mode to an ace->perms field, theoretically
authorJeremy Allison <jra@samba.org>
Fri, 5 Oct 2012 22:51:19 +0000 (15:51 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 6 Oct 2012 01:04:14 +0000 (03:04 +0200)
commit828793852f3785c620f2716c60f8b1640880ee50
tree832570db127381cc505d90051557f5d394d12966
parent47ebc8fbc93ee1eb9640d9ca30275fcfc3b50026
We should never just assign an st_mode to an ace->perms field, theoretically
they are different so should go through a mapping function. Ensure this is so.

Practically this does not matter, as for user permissions the mapping
function is an identity, and the extra bits we may add are ignored
anyway, but this makes the intent clear.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct  6 03:04:14 CEST 2012 on sn-devel-104
source3/smbd/posix_acls.c