I managed to get it working as non-root by merely moving the RRD dump to /home/ntop/rrd with the same permissions. But here's my answers:
*Can you do anything in there as the ntop user?* Yes. I can su to the ntop user, go into the /usr/local/var/ntop/rrd folder and mkdir, touch, rm, etc. as that user, no problem. *How are you starting it? What are the permissions on the directory?* starting it through rc.local: *ntop -P /usr/local/var/ntop -i none -s -u ntop -d* So, now I just need to find a way to keep from filling up the hard drive from NetFlow dumps. Working on that now. Thanks for the response!! Brian On Sat, Dec 8, 2012 at 5:01 AM, Alex DEKKER <[email protected]> wrote: > On 07/12/12 20:32, brconflict wrote: > >> Question for anyone who runs nTop on Ubuntu 10.04 as non-root >> > > I'm using Debian but I'll have a go. > > > I'm getting Permission Denied (error 13) in my syslog from where the ntop >> user cannot create directories or files in the RRD directory. >> >> > Can you do anything in there as the ntop user? > > > If I run it as root, the files created are by the user ntop:ntop, which >> is a sudoer (temp), and all the permissions are set to chmod 777 to test >> with. When I start as user, ntop again, it cannot write to the RRD >> directory, even though there's no permissions or selinux issues (not using >> selinux) >> >> >> > How are you starting it? What are the permissions on the directory? > > On my system, it's using /usr/local/var/ntop, and the ownership on there > is ntop:ntop. > > I start ntop with 'ntop -u ntop'. > ______________________________**_________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/**mailman/listinfo/ntop<http://listgateway.unipi.it/mailman/listinfo/ntop> >
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
