Enable read only permissions for all on proc/ati folders, change S_IFDIR to S_IRUGO