Apple have tightened up access to files underneath ~/Library. For instance from the command line you can't see files underneath ~/Library/Mail.

Under Security & Privacy in System Preferences you can enable applications like Terminal to have Full Disk Access. This is weakening security of course.