pacrepairfile
Reset properties on files managed by alpm. tldr-pages
On Linux
Linux
Search for the package and reset the properties of a file
pacrepairfile path/to/file --packageIdentifyReset a file quietly
pacrepairfile package_name --quiet --packageIdentifyReset specific file properties (mode, owner UID, group GID, or modification time)
pacrepairfile package_name --mode --packageIdentifyDisplay help
pacrepairfile --helpIdentifyDisplay version
pacrepairfile --versionIdentify