-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Steps to Reproduce
- Run
4) Start Nostpy relay (Clearnet + Tor)frommenu.pywithout sudo- This runs without error the first time
- Spin down tor compose stack
- Run
4) Start Nostpy relay (Clearnet + Tor)frommenu.pywithout sudo- fails with error below due to
docker/tor/databeing unreadable/executable by nonrootuser
- fails with error below due to
=> ERROR [internal] load build context 0.0s
=> => transferring context: 17.84kB 0.0s
------
> [internal] load build context:
------
ERROR: failed to solve: error from sender: open /home/ubuntu/nostpy-relay/docker/tor/data/hidden_service: permission denied
ERROR: Service 'websocket_handler' failed to build : Build failed
Error occurred: Command '['docker-compose', '-f', 'docker-compose-tor.yaml', 'up', '-d']' returned non-zero exit status 1.
Expected behavior
As the user that initialized the local repo, to select 4) Start Nostpy relay (Clearnet + Tor) and have the docker compose stack start without elevated permissions after the tor/data directory has been initialized
Suggested Fix
- Add
$USERto ACL that has permission to access that directory frommenu.py
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working