use resource paths to set file permissions