Yes, that'll fix it. But from this error, it sounds like you're running 10.2, which has different permissions set for ~root than 10.1 (which this article was written for).
If you are using 10.2 or newer, you should not be following this tutorial, but these instead: