busybox command works, same command within script says permission denied
I have this problem with a script on my Unslung NSLU2. I use transmissionBT for torrent up/downloading, it works perfect. I start the Transmission-daemon (transmission bittorrent daemon) with start-stop-daemon so I don't have to use root as an user.
This works if I use the command in the terminal (busybox). Everything works fine then.
But when I put the same command line in a script in the init.d dir then the same command line says Permission denied.
The script has been chmod'ed so it has all permission. what's going wrong? Why does a command function different from the shell and the script?