added privileged command to check for write access.