I am having an exact same issue. After recent malware attack we moved to new server (with higher security) then i updated modx and now seeing below error message on "package manager" screen.
Your assets/ directory was not able to be created at: /home/example.com/public_html/assets/
You will need to create this directory and make it writable if you want to use Package Management or 3rd-Party Components.
,
Your assets/components/ directory was not able to be created at: /home/example.com/public_html/assets/components/
You will need to create this directory and make it writable if you want to use Package Management or 3rd-Party Components.
,
Your core/components/ directory was not able to be created at: /home/example.com/core/components/
You will need to create this directory and make it writable if you want to use Package Management or 3rd-Party Components.
So i checked my folder permission and they are as below
drwxr-xr-x 46 name name 4096 Jul 25 03:47 assets
drwxr-xr-x 57 name name 4096 Jul 31 18:40 core/components
drwxr-xr-x 30 name name 4096 Apr 30 21:55 assets/components/
Not sure how to solve this, due to this i am not able to update/add packages.