ensure file permissions and ownership inside shared folder