If the directory is readonly, then a system message may occur, since this is not checked.