sebgl / htpc-download-box

Sonarr / Radarr / Jackett / NZBGet / Deluge / OpenVPN / Plex
1.98k stars 322 forks source link

Add step to set permissions for apps on ROOT folder #27

Open jlkalberer opened 4 years ago

jlkalberer commented 4 years ago

I ran into this issue when testing to make sure that Deluge could actually download torrents. Basically I'd add a torrent via URL (I tried the torguard check) but it would just error out in Deluge. I first thought my VPN configuration was incorrect and spent many hours debugging.

I'm using Ubuntu server if that matters.

I ended up doing a chmod 777 as I don't really know what I'm doing on Linux and that fixed it but is there a better way?

Is this what we should be doing?

Note: You may need to chown -R $USER:$USER /path/to/root/directory so Sonarr and the rest of the apps have the proper permissions to modify and move around files.

I think it would be best if you added an explicit step to the readme where the correct permissions are set on the folder for whatever user is running Docker or the apps.. I don't really know how this works under the hood.

FYI - I think some old closed issues had to do with this

jbusuttil83 commented 4 years ago

these docker images of sonarr and radarr use an internal use called abc inside the containers. what I did was to set the owner to that user and it works. it is done with chown command.

I agree that it should be added to the readme.

sebgl commented 4 years ago

Thanks for reporting @jlkalberer & @jbusuttil83. Would one of you want to contribute with a PR to the existing README with proper instructions?