I've recently discovered the sys:hidden aspect and have updated my project repo to 4.0.d from 4.0.b (using maven) to take advantage. I have a use case where the files should be hidden from view in Share, but available over CIFS/NFS for a separate process. Permissions won't work as the user does actually need to read/write from these hidden file/folders.
My problem is that I can't seem to get the mask to work properly. I wrote a quick utility using the code from HiddenAspect to construct what I believe are appropriate masks, and then set the sys:clientVisibilityMask accordingly. However, although the property is read just fine, the "client" is always NULL for non-web clients in HiddenAspect getVisibility() (line 468 of rev 35229).
For explorer and share I can get this visibility to turn on and off by changing the mask. Just not for any other client I've tested.
The mask I've most recently used was "41642" which according to my utililty should be:
Client cifs => Visible
Client imap => Visible
Client webdav => Visible
Client nfs => Visible
Client script => Visible
Client webclient => NotVisible
Client ftp => Visible
Client cmis => Visible
I'm thinking either this is a side effect of an improper mask, a missing/wrong configuration setting, or a bug. I've run out of time/energy to hunt this down any further tonight and thought I'd post here to see if someone had any insight or could provide guidance in the meantime.
Thanks!