Bug 63066 - portaudit: bad perm for database
Summary: portaudit: bad perm for database
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Eikemeier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 14:30 UTC by Radim Kolar
Modified: 2004-02-21 21:21 UTC (History)
0 users

See Also:


Attachments
file.diff (350 bytes, patch)
2004-02-19 14:30 UTC, Radim Kolar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Kolar 2004-02-19 14:30:14 UTC
Permissions for port audit database are bad:
asura# ll /var/db/portaudit/
total 2
-rw-------  1 root  wheel  546 Feb 15 12:00 auditfile.tbz
asura#
Database needs to be a+r because port's makefile performs checking
while building port and port can be builded by non-privileged user
as well.

How-To-Repeat: run /usr/local/etc/periodic/daily/330.fetchaudit as root.
root umask is 022, i am not sure what umask has cron set.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-20 20:54:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->eik

Over to maintainer.
Comment 2 Oliver Eikemeier freebsd_committer freebsd_triage 2004-02-21 21:20:51 UTC
State Changed
From-To: open->closed

incorporated in 0.2, thanks for the feedback!