Fixes #3141: Finished the SUID/SGID compliant version of the filePermissions PT/Technique