Page 1 of 1
Why needs the Twonkyserver root rights ?
Posted: Wed Jan 07, 2009 1:52 pm
by chris12
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
Re: Why needs the Twonkyserver root rights ?
Posted: Mon Jan 12, 2009 5:24 pm
by Mak69
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