Opened 16 years ago

Last modified 11 years ago

#232 assigned defect

Owner of symbolic links is not restored correctly.

Reported by: enakai Owned by: Bruno Cornec
Priority: low Milestone:
Component: mondo Version: 2.2.4
Severity: normal Keywords:


I have restored RHEL5.1 with mondo-2.2.4-1.rhel5 and compared "rpm -Va" results taken before and after the restoration. And I found that ower user and group of symbolic links originally different from root.root was changed to root.root.

# diff node01.2008011663155/rpm-Va node01.2008011684617/rpm-Va
> .....UG.   /usr/bin/rpmdb
> .....UG.   /usr/bin/rpmquery
> .....UG.   /usr/bin/rpmsign
> .....UG.   /usr/bin/rpmverify
> .....UG.   /usr/lib/rpm/rpme
> .....UG.   /usr/lib/rpm/rpmu
> .....UG.   /usr/lib/rpm/rpmv

These are all symbolic links to another file, for example;

# ls -l /usr/bin/rpmdb
lrwxrwxrwx 1 rpm rpm 15 Jan 16 17:29 /usr/bin/rpmdb -> ../lib/rpm/rpmd

<After Restoration>
# ls -l /usr/bin/rpmdb
lrwxrwxrwx 1 root root 15 Jan 16 17:29 /usr/bin/rpmdb -> ../lib/rpm/rpmd

As owners of linked "real" files were not modified, there's probably no practical issue. But I think, if possible, it's better to fix it. (Sorry for that I have no idea how to fix it.)

RPMs I used are as below;


Change History (7)

comment:1 by Bruno Cornec, 16 years ago

Priority: normallow

comment:2 by Bruno Cornec, 16 years ago


comment:3 by Bruno Cornec, 16 years ago


comment:4 by Bruno Cornec, 16 years ago

Status: newassigned

afio does support restoration of owner/group id correctly. I made successful tests with that. I need to see if any option we use, does change that, but I've not found anything obvious up to now.

Will try to reproduce and debug.

comment:5 by Bruno Cornec, 15 years ago


comment:6 by Bruno Cornec, 15 years ago


comment:7 by Bruno Cornec, 11 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.