diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-21 23:21:58 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 15:02:26 +0200 |
commit | bd00c9286556aacb45fcd457751ccb43ef605329 (patch) | |
tree | 61cc13cbb8c76fefb30a165ca8a41469490d2804 /source4/setup | |
parent | 318b8cb4fafcc48bb0f8266171d667a6316f66d4 (diff) | |
download | samba-bd00c9286556aacb45fcd457751ccb43ef605329.tar.gz samba-bd00c9286556aacb45fcd457751ccb43ef605329.tar.bz2 samba-bd00c9286556aacb45fcd457751ccb43ef605329.zip |
selftest: Extend posixacl test to check the actual ACL
Needing to be able to write this test is the primary reason I have
been reworking the VFS and posix ACL layer over the past few weeks.
By exposing the POSIX ACL as a IDL object we can eaisly manipulate it
in python, and then verify that the ACL was handled correctly.
This ensures the when we write an ACL in provision, that it will
indeed allow that access at the FS layer.
We need to extend this beyond just the critical two ACLs set during
provision, to also include some special (hard) cases involving the
merging of ACE entries, as this is the most delicate part of the ACL
transfomation.
A similar test should also be written to read the posix ACL and the
mapped NT ACL on a file that has never had an NT ACL set.
Andrew Bartlett
Diffstat (limited to 'source4/setup')
0 files changed, 0 insertions, 0 deletions