sensor: change file access mode