set file permissions using the node attribute