Name: Anonymous 2009-03-08 19:58
/txt/ fags,
i have the following piece of code:
sudo -u bittorrent screen -d -m bittorrent-curses $torrentdir/$t &
im trying to redirect the output of the "bittorrent-curses" command, but im doing it wrong, im doing something like this:
sudo -u bittorrent screen -d -m bittorrent-curses $torrentdir/$t > /foo/bar.log &
but the log file is created as root, i think is saving the output of the sudo command, some quote problem maybe?
i have the following piece of code:
sudo -u bittorrent screen -d -m bittorrent-curses $torrentdir/$t &
im trying to redirect the output of the "bittorrent-curses" command, but im doing it wrong, im doing something like this:
sudo -u bittorrent screen -d -m bittorrent-curses $torrentdir/$t > /foo/bar.log &
but the log file is created as root, i think is saving the output of the sudo command, some quote problem maybe?