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

2020-03-20 Thread Panu Matilainen
Should be dealt with as a part of #965 -- 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#issuecomment-601703275___ Rpm-maint

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

2020-02-06 Thread Orion Poplawski
Also, the files may not exist: ``` $ rpm --setperms ipa-server-common-4.6.5-11.sl7_7.4.noarch chmod: cannot access ‘/etc/httpd/conf.d/ipa-pki-proxy.conf’: No such file or directory chmod: cannot access ‘/etc/systemd/system/httpd.d/ipa.conf’: No such file or directory chmod: cannot access ‘/var/li

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

2018-11-09 Thread Panu Matilainen
Hmm, explicit attr used to be required for ghosts that don't exist in the buildroot, but seems that went out with d6775a746bbaf8ddc8a91c9fae68ae91af1cc570. In retrospective, "If %defattr() doesn't specify a mode the file will be seen without any permissions at all, but that's not strictly an er

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

2018-11-02 Thread Markus Linnala
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 dire