Arch Linux

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!
Tasklist

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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Toolybird (Toolybird)
Wednesday, 17 May 2023, 21:04 GMT
Reason for closing:  None
Comment by Daniel M. Capella (polyzen) - Wednesday, 17 May 2023, 21:00 GMT

Loading...