I need to start the server under root rights.
It does not work under a useraccount.
I think that can be a security problem.
Greets chris
Why needs the Twonkyserver root rights ?
-
- Posts:1
- Joined:Sun Jan 11, 2009 9:23 pm
- AV Hardware:EVCM-F running debian lenny + TwonkyMedia Server + D-Link DSM-320RD
Re: Why needs the Twonkyserver root rights ?
I'm running TwonkyMedia Server without root privileges.
Check out the owner and group assigned to Twonky directory
ls -l /parentdir/TwonkyDir (write the correct directory)
and eventually change them with the command (as root)
chown username:usergroup /parentdir/TwonkyDir
This would solve the problem to run Twonky server from a non root user.
I had another problem scanning media. If you're storing your media on a dir like this (..as I'm doing)
/var/MyMedia/
where /var has root:root owner and /var/MyMedia has user:user owner, the only way to allow TwonkyMedia scanning is to create a soft link in the user's home dir in this way
cd /home/user
ln -s /var/MyMedia/ MyMedia
and to setup Twonky to scan for media in /home/user/MyMedia.
Hope this can help you
Marco
Check out the owner and group assigned to Twonky directory
ls -l /parentdir/TwonkyDir (write the correct directory)
and eventually change them with the command (as root)
chown username:usergroup /parentdir/TwonkyDir
This would solve the problem to run Twonky server from a non root user.
I had another problem scanning media. If you're storing your media on a dir like this (..as I'm doing)
/var/MyMedia/
where /var has root:root owner and /var/MyMedia has user:user owner, the only way to allow TwonkyMedia scanning is to create a soft link in the user's home dir in this way
cd /home/user
ln -s /var/MyMedia/ MyMedia
and to setup Twonky to scan for media in /home/user/MyMedia.
Hope this can help you
Marco