Wow, it was not easy to install Jdownloader2 onto AS5110T but I got it done and I'm a total noob.
Big THANK YOU to Philippe!
It is currently Wed Mar 03, 2021 11:34 pm
All times are UTC + 8 hours
zn4jp3 wrote:Is there any newbie guide for installing this? Im totaly new into NAS and linux. I just bought a AS3202T. Running pyload at the moment but it does not work that well.
DESKALOS wrote:Can explain more detailed guide? not english and is very hard follow steps for me... never used linux![]()
only thing understod is make account on JD and did it and install entware-ng + jDownloader2 from AppCentral.
x7bit wrote:I ran the init.sh as root and JD is running OK, but every file that I download is saved with the root user, the root group, and 644 permissions, so I can't write theese files from outside the NAS even though I have the Download folder inside the Public folder (that is shared with NFS). There is some way to change the user / group / permissions of downloaded files? Maybe with umask just before JD is launched (I think a 666 permissions should be enough)? Another solution could be run the JD by admin user instead of root.
father.mande wrote:Hi,
You can try by yourself ... (if I have time I will also try but I am busy for now) ... even, normally ONLY jdownloader user (root) need write access ... all other require Read only ???, why rewrite a downloaded file ? if you do from a terminal ... you just need to change the access right before (connect as root, change right , su to normal user)
... test adding umask in the start_up shell script (/usr/local/AppCentral/jdownloader/CONTROL/start-stop.sh)
... other test is to add group root to user able to get the file (/usr/sbin/usermod) even other is set to read
... also it's possible to change the the start_up script (here before) to use su (/bin/su) or sudo (/usr/builtin/bin/sudo) and to encapsulate the command
... ... be sure the new download folder (or the existing) is accessible (write) by the user you use in su or sudo
If nothing works ... it's always possible to use inotify on survey of the download folder to change the access right when file is written ...
Philippe.
case "$1" in
start)
if [ ! -e ${APKG_PATH}/.init_done ] ; then
echo "Please run ${APKG_PATH}/init.sh FIRST"
syslog --log 0 --level 0 --user admin --event "Please run ${APKG_PATH}/init.sh "
exit 1
fi
# web_link
adapt_param
## add the cron
add_in_cron
cd ${APKG_PATH}/jd
umask 000
/usr/bin/nohup ${java_exec} ${ARGJ} -Djava.awt.headless=true -jar ./JDownloader.jar > ${APKG_PATH}/log/jd.out 2>&1 &
;;
shezhar wrote:How to change username/password without using init command?
Users browsing this forum: No registered users and 1 guest