set attributes on root if directory exists, but doesnt have them set yet