Page 1 of 1

do I have lost root rights in ubuntu?

Posted: April 8th, 2011, 6:07 am
by User024
Hi there,
after a new installation of sabnzbd on a Ubuntu machine, I have a problem with possibly root rights.
Here is what happens: when I try to add a nzb file via webinterface, I am not able to see the folders
in my home folder (i.e. Documents). Furthermore I am not able to copy and paste from the download
folder of sabnzbd to a Home folder or any other folder.

I suspect rights management. I think I might not have roots rights for sabnzbd. I find that strange,
because I start it in a terminal by typing "sudo sabnzbdplus". This problem didn't occur earlier.
I suspected an Ubuntu update might have rights management, but it also shows this problem with
a non updated (fresh) ubuntu installation.

Anyone a clue what this might be and how to fix this?

Re: do I have lost root rights in ubuntu?

Posted: April 9th, 2011, 11:20 am
by jcfp
User024 wrote:I start it in a terminal by typing "sudo sabnzbdplus".
Your use of sudo is likely the problem. The application doesn't need more rights than those of a normal user, unless you fancy running the web interface on low port numbers. Now it probably created directories and files owned by root in your home dir. Verify the above, then to fix stop the application, change the ownership of all files and directories used by sab (i.e., at least the download locations and ~/.sabnzbd) in your home dir to yourself, and start the application again without using sudo.