danielguerra69 / soulseek

soulseek vnc service
18 stars 6 forks source link

Permission denied when starting the docker #12

Open xeviff opened 3 years ago

xeviff commented 3 years ago

Hi! I'm very interested on this docker. I was trying to set it up but I'm facing the following problems:

  1. If I start with the instructions command, i get an "Permission denied" Error image (with the following command: docker run --name=soulseek --rm -v /volume1/Downloads/soulseek:/home/soulseek -p 5900:5900 -d danielguerra/soulseek I'm using a Synology NAS)

Then, if I force the user 0 I can skip the error and the container starts up. (with the argument "-u 0") image Now, if I connect with the VNC Client, I get a black screen: image If I check the logs I get a few bad messages: image

I discovered in the black screen I do a right click, some options appear: image

but doesn't care what I click, It doesn't do anything in all cases.

Can you check this out? Maybe I missed something? Cheers

danielguerra69 commented 3 years ago

How did you mount /volume1/Downloads/soulseek ? Can you show me the output of the "mount" command. I think it has something to do with user rights, cifs/ samba. If it works without the-v option you use, would be proof of my thoughts. Some mount options you could try: sudo mount -t cifs -o username=nasusername,domain=mynasdomain,uid=root,gid=root,file_mode=0777,dir_mode=0777 //mynas/music /volume1/Downloads/soulseek

xeviff commented 3 years ago

mmmmm The truth it's not a mount. I work locally on my NAS via SSH as root. Docker is installed on my NAS and "/volume1/Downloads/soulseek" is an existing local directory.

danielguerra69 commented 3 years ago

You can change the permissions in your nas. Try 777