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
|
Details
Description: 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