Welcome to CRUX bug tracking.

FS#380 - pkgadd: rejected directories might have the wrong ower in /var/lib/pkg/rejected

Attached to Project: CRUX
Opened by Juergen Daubert (jue) - Wednesday, 19 November 2008, 13:39 GMT
Last edited by Danny Rawlins (Romster) - Friday, 02 January 2009, 15:26 GMT
Task Type Bug Report
Category tools → pkgutils
Status New
Assigned To CRUX Developers (crux)
Operating System Linux
Severity Low
Priority Normal
Reported Version 2.5
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


if pkgadd writes an entry to /var/lib/pkg/rejected the directory owner is ignored if only a file in that directory is rejected.

The above sound a bit crazy, let's show an example:

fcron owns the following directories in /var:

drwxr-xr-x root/root var/spool/
drwxrwx--- daemon/daemon var/spool/fcron/
-rw------- root/root var/spool/fcron/root.orig

if root.orig is modified and therefore rejected by pkgadd we got the following in /var/lib/rejected:

drwxr-xr-x root/root var/spool/
drwxrwx--- root/root var/spool/fcron/
-rw------- root/root var/spool/fcron/root.orig

This task depends upon