FreeBSD Port: ifgraph-0.4.10_4

David Wahlund david.wahlund at gmail.com
Mon Jul 30 22:14:02 UTC 2012


Hi
Using ifgraph-0.4.10_4 I noticed unexpected behaviour with the user
rights of the files created.

The cron job is run as user ifgraph but the rrds are owned by
root:ifgraph with mod 644 so the group ifgraph can't write to them.
Changing mod to 664 fixes this.

Also the images and html files have unexpected ownership. The images
are owned by root:ifgraph but the html are ifgraph:ifgraph. Also here
the ifgraph group doesn't have write privileges to the files.

I've tested the script as root before handing them over to cron. Could
that be the cause? Shouldn't the script create rrds and images as
ifgraph anyhow?

Regards
David


More information about the freebsd-ports mailing list