This error is caused by the user's home directory being locked or not having write permissions. Follow the steps below to resolve.
1. Open Finder. Right click on your User directory (named after your user). Select Get Info.
2. Uncheck the box labeled Locked.
3. Check that the user has Read & Write permissions