


kerryandjane wrote:elikxir wrote:i'm logged in with root name:
DiskStation> /usr/syno/etc/packages/DownloadStation/download/settings.json
-ash: /usr/syno/etc/packages/DownloadStation/download/settings.json: Permission de
nied
i get this message "Permission denied" for any comand i make
whats the problem ?
What are you trying to do? If you're trying to edit the settings.json file you need to use a text editor.... like vi or nano.
Please google vi commands. Pretty please remove your comment. It's in the wrong section.


cd /usr/syno/etc/packages/DownloadStation/download/scripts
mv DSScript.sh old.DSScript.sh
cat <<EOF> DSScript.sh
#!/bin/bash
mkdir /volume2/Download/testdir
EOF
chmod 777 DSScript.shcd /usr/syno/etc/packages/DownloadStation/download/scripts
mv -f old.DSScript.sh DSScript.sh
sed -i 's/volume1/volume2/g' /usr/syno/etc/packages/DownloadStation/download/scripts/DSScript.shgrep -a 'done' /usr/syno/etc/packages/DownloadStation/download/settings.json
grep -a 'synorsstool' /etc/crontab

bif-bigfoot wrote:it's supposed to create a folder with today's date ??







synodex wrote:excellent!!
having a problem though.. got the old one working on the old dsm version on a 211+.
Did a clean install of dsm 4 after format of harddisk. Installed downloadstation and this mod.
I can run the script with a ./ command with unrar of rar files ind download folder succesfull.
It does not run on its own when a torrent has finished..
Please advice..
/bin/sh /usr/local/etc/rc.d/DSRestart.sh
Return to Torrent Engines/Download Station Mods
Users browsing this forum: No registered users and 3 guests