File permissions are influenced by directory permissions
Currently the file permissions are set after the directory permissions are applied recursively without discrimination. This will affect any incremental file permissions, as the directory permissions overwrite the existing file object permissions.
Suggest changing file permissions approach, to disconnect the two operations (directory & file permissions)