Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78540 - [pacman] Option to overwrite permissions (fix permission mismatch)
Attached to Project:
Arch Linux
Opened by drws (drws) - Wednesday, 17 May 2023, 19:36 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 May 2023, 21:04 GMT
Opened by drws (drws) - Wednesday, 17 May 2023, 19:36 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 17 May 2023, 21:04 GMT
|
DetailsDescription: Pacman currently only warns about permission mismatch (between the package and the filesystem), but doesn't provide any options to sync them automatically (overwrite filesystem permissions with the package's).
New permissions are sometimes introduced with package updates and Pacman simply doesn't support this. Only warning about permission mismatch and ending the transaction can potentially result in a partial upgrade and/or an inconsistent state. Additional info: * package version(s): Pacman v6.0.2 - libalpm v13.0.2 Steps to reproduce: 1. Reinstall/update a package containing files with different permissions than the ones already in the filesystem. 2. Observe Pacman overwriting/updating files, but not their permissions. |
This task depends upon
Comment by Daniel M. Capella (polyzen) -
Wednesday, 17 May 2023, 21:00 GMT
Please file your issue at https://gitlab.archlinux.org/pacman/pacman/-/issues