From b4ddedf3e8dbe3a8c9a1695a656432d87fce8054 Mon Sep 17 00:00:00 2001 From: NamanSoni18 Date: Mon, 6 Oct 2025 23:07:43 +0530 Subject: [PATCH 1/3] doc: pacrepairfile --- pages/linux/pacrepairfile.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/pacrepairfile.md diff --git a/pages/linux/pacrepairfile.md b/pages/linux/pacrepairfile.md new file mode 100644 index 00000000000000..695042aeb08314 --- /dev/null +++ b/pages/linux/pacrepairfile.md @@ -0,0 +1,24 @@ +# pacrepairfile + +> Reset properties on files managed by alpm. +> More information: . + +- Search for the package that owns a given file: + +`pacrepairfile {{file_path}} --package` + +- Reset a File Quietly: + +`pacrepairfile {{package_name}} --quiet --package` + +- Reset specific file properties (mode, owner UID, group GID, or modification time): + +`pacrepairfile {{package_name}} --{{mode|gid|mtime|uid}} --package` + +- Display help: + +`pacrepairfile --help` + +- Display version: + +`pacrepairfile --version` From 4eb533d18a32827c117fcc0cdbb242f7a3984226 Mon Sep 17 00:00:00 2001 From: NamanSoni18 Date: Tue, 7 Oct 2025 12:40:35 +0530 Subject: [PATCH 2/3] Updated as mentioned --- pages/linux/pacrepairfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/pacrepairfile.md b/pages/linux/pacrepairfile.md index 695042aeb08314..4457c7d80e6baf 100644 --- a/pages/linux/pacrepairfile.md +++ b/pages/linux/pacrepairfile.md @@ -3,9 +3,9 @@ > Reset properties on files managed by alpm. > More information: . -- Search for the package that owns a given file: +- Search for the package and reset the properties of a file: -`pacrepairfile {{file_path}} --package` +`pacrepairfile {{path/to/file}} --package` - Reset a File Quietly: From 736ba99d053e7932348dae6995699da153a6adcb Mon Sep 17 00:00:00 2001 From: NamanSoni18 Date: Tue, 7 Oct 2025 12:53:55 +0530 Subject: [PATCH 3/3] Updated as mentioned --- pages/linux/pacrepairfile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/pacrepairfile.md b/pages/linux/pacrepairfile.md index 4457c7d80e6baf..ecdabba86259ed 100644 --- a/pages/linux/pacrepairfile.md +++ b/pages/linux/pacrepairfile.md @@ -7,7 +7,7 @@ `pacrepairfile {{path/to/file}} --package` -- Reset a File Quietly: +- Reset a file quietly: `pacrepairfile {{package_name}} --quiet --package`