the file/directory ownership is not available if a file/directory is not readable. The ownership should be readable in any case though.
I ran into this problem during some ACL testing: it *must* be possible to grant new permissions on a file/directory after you removed all permissions before - *if* you are the owner.
Is this a 4.14 regression? Does it work in 4.13?
(In reply to Ralph Böhme from comment #1)
neither in 4.12/4.13. You can just check with a simple "touch file; chmod 000 file" and look at it in explorer.
(For the "revover from 0 ACEs" test there might be more issues but this is the first obvious one.)
(In reply to Björn Jacke from comment #2)
Ok, thanks for confirming. This can now be fixed in 4.14 thanks for pathref fsps.
WIP MR: https://gitlab.com/samba-team/samba/-/merge_requests/1950