Only keep CAP_DAC_READ_SEARCH capability if stat mode is used, take 2... Code cleanup
Only keep CAP_DAC_READ_SEARCH capability if stat mode is used, take 2... Code cleanup

git-svn-id: 6437cadc3c428c97d8351a9fc7693bf7c8b64993@19 541e799a-c857-49a9-9955-d080b115f20d

ju5t/mod-ruid2,bet0x/mod-ruid2,mind04/mod-ruid2