Folder permissions broken

Hi there
I am using the docker images put together by @revant_one vs. a manual install. I must have made a flub along the way and corrupted my owner of the file(s) that are in /public and /private.
Logging into the docker container, I cannot run chown…
Is there a workaround, or do I have to manually re-create the folder structure [somehow] to continue? If I have to re-create it, can some guidance be given?

option 1:

if you’ve everything on a single machine, change permission of /var/lib/docker/volumes/{site-vol} with chown -R 1000:1000 ... on the docker host

option 2:

more containerized way where you don’t know where volume is.

create a new container with root privileges and attached sites-vol like mentioned here frappe_docker/site-operations.md at main · frappe/frappe_docker · GitHub

option 3:

you can exec into erpnext-nginx container with --entrypoint bash as that container runs as root for now. Build unprivileged frappe-nginx and erpnext-nginx · Issue #493 · frappe/frappe_docker · GitHub

chown from erpnext-nginx container

I wound up having to get into the container console and recreate the directory structure. I did get past it though. Sorry for the late response.