fix sensor permissions