[Rpm-maint] [rpm-software-management/rpm] setperms: skip ghost symlinks (RhBug:1900662) (PR #1854)

Michal Domonkos notifications at github.com
Tue Dec 7 08:59:16 UTC 2021


Since we record the symlink permission bits (777) in the database and
chmod(1) affects the pointed-to file (not the symlink itself), applying
these bits to anything on the file system would either be pointless (a
symlink) or an error (a ghost file installed as a regular file but
recorded as a symlink in the database).

The former is already handled with the -L test, this commit handles the
latter.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1854

-- Commit Summary --

  * setperms: skip ghost symlinks (RhBug:1900662)

-- File Changes --

    M rpmpopt.in (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1854.patch
https://github.com/rpm-software-management/rpm/pull/1854.diff

-- 
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/pull/1854
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211207/caf1de87/attachment.html>


More information about the Rpm-maint mailing list