change rights of files