[Rpm-maint] [rpm-software-management/rpm] rpm --restore/--setperms/ --setugids/--setcaps should ignore ghost files by default (#591)

Markus Linnala notifications at github.com
Fri Nov 2 21:22:56 UTC 2018


Currently as far as I can see in many cases ghost files are not marked fully in spec files. Problem is when ghost file does not exist but is defined at spec file.

If you run rpm --restore you can change many files to perms like d---------. or ----------. or make files where there should be directory.

Another way to fix this is to require ghost files to have full set of metadata when they are defined at spec or disable feature where ghost files can be defined without actual entity.

I'd conside --restore to be dangerous option currently.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181102/6152e726/attachment.html>


More information about the Rpm-maint mailing list