View Single Post
  #1  
Old 06.12.2020, 19:47
cptnniv cptnniv is offline
Modem User
 
Join Date: Dec 2020
Posts: 2
Default Ubuntu Snap - Unable to write on path but permissions look good

Hello JDownloader support, I’ve been checking similar issues on the forum for a couple of days but I’m not solving my issue.

I’ve installed JDownloader2 on my Ubuntu server:

Code:
Operating SystemLinux (LINUX 64Bit) (amd64 64Bit)
Java11.0.8+10-post-Ubuntu-0ubuntu118.04.1 (64Bit) (headless)
UbuntuOpenJDK 64-Bit Server VM
I’ve used snap (**External links are only visible to Support Staff****External links are only visible to Support Staff**) for the installation, and I’ve set up a systemctl service for autostart following the instructions on this forum.

Code:
[Unit]
Description=JDownloader2 Headless
After=network.target

[Service]
Type=simple
ExecStart=/snap/bin/jdownloader2.jdownloader
PIDFile=/home/jd/JDownloader.pid
RemainAfterExit=yes
User=jd
Group=jd

[Install]
WantedBy=multi-user.target
The user launching the service is “jd”, that belongs to the “downloaders” group.

Code:
# groups jd
jd : jd downloaders
I want all downloads on a folder mounted on a large drive, the path is: "/mnt/2TB/descargas"

But when I try to download something I get an “Invalid download directory” message. I know it has something to do with permissions, but if I log in with that “jd” user I can create files/directories on that path. I’ve checked the permissions for the complete path, and it should work.

:outch:

If I change the default download path to "/home/jd/“ it works.

Can that be something related to the “snap” version of “JDownloader”?

Any idea on how to fix the permissions? Is there any command I can run to help you find the issue?

This is my log id: jdlog://6740525302851

Thanks for the support and the excellent product.

best,

Cptnniv
Reply With Quote