This permission should be interpreted as octal, not decimal

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
SQLite is also available in FreeBSD

Docker-DCO-1.1-Signed-off-by: Kato Kazuyoshi <kato.kazuyoshi@gmail.com> (github: kzys)
Merge pull request #5232 from kzys/freebsd-graph

Fix graph and pkg/graphdb on FreeBSD