fix problem with editing paths that aren't yours