If you’ve updated to macOS Mojave and are annoyed by not being able to use Terminal to cd, ls, etc. in parts of your own home directory, you just need to add Terminal to the new “Whole Disk Access” list in Security & Privacy System Preferences.