changed rights to file