sfx101 / deck

DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop
https://github.com/deck-app
GNU Affero General Public License v3.0
1.51k stars 71 forks source link

Permission Issue. Errno 13 on Ubuntu #29

Closed havecreativity closed 2 years ago

havecreativity commented 3 years ago

I installed on Ubuntu. Made a Wordpress app, pressed play but got: [Errno 13] Permission denied: './.env'

sfx101 commented 3 years ago

@havecreativity, thanks for trying out. I am trying to replicate the issue & then get back to you.

sfx101 commented 3 years ago

Hi @havecreativity , I tried replicating the issue on Ubuntu 20.04 but no luck, it worked for me as it usually would. Could you please let me know if you installed DECK using the shell script provided on the Downloads page or you did the installation manually?

havecreativity commented 3 years ago

Thanks. I downloaded your deb file and got the Ubuntu software center to install it. I'm also using Ubuntu 20.04 on the computer.

sfx101 commented 3 years ago

Gotcha, please try running this script & restart DECK again. It should fix the issue

curl https://raw.githubusercontent.com/sfx101/deck-for-linux/main/install.sh | sh

PS: It won't break anything on your system, it will just give Docker permission for rootless access & run a few commands to give proper permissions to the DECK app.

havecreativity commented 3 years ago

Thank you. The install.sh script did it.

launched the app nicely.

Thank you for your help.

Only thing is that when trying to edit files, I have to use sudo each time (no fault of yours). Same thing happens on my own docker setups, even giving UID of 1000 to the docker-compose file doesn't work. Also adding $USER to www-data, doesn't work either. It's always been an issue for me with Docker.