- Status New
- Percent Complete
- Task Type Bug Report
- Category tools → pkgutils
-
Assigned To
crux - Operating System Linux
- Severity Low
- Priority Very Low
- Reported Version 2.5
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#380 - pkgadd: rejected directories might have the wrong ower in /var/lib/pkg/rejected
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
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Users might not benefit from this bugfix unless FS#379 is also resolved. If rejmerge ignores directory permissions, then the owner/group of a conflicting directory will be left as it was from a previous installation, and all our efforts to ensure correct directory permissions under /var/lib/pkg/rejected will go unnoticed.