How to Enable Live Edits from VSCode SSH Sessions on Prod Leonardo Instances

If you’re editing files over SSH in VSCode and get a “permission denied (EACCES)” error, it’s usually because your files are owned by root instead of your SSH user (ubuntu).

To fix it, just reset ownership so your VSCode session can write to the project directory:

sudo chown -R ubuntu:ubuntu /home/ubuntu/llamapress

That one-liner restores live edit access instantly — no rebuilds, no restarts needed.
Tip: Always use your app’s normal runtime user (e.g., ubuntu) for development and maintenance to keep live edits fast and safe.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *