Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/droserasprout/pacman-fix-permissions
Fix broken Arch Linux filesystem permissions
https://github.com/droserasprout/pacman-fix-permissions
Last synced: 3 months ago
JSON representation
Fix broken Arch Linux filesystem permissions
- Host: GitHub
- URL: https://github.com/droserasprout/pacman-fix-permissions
- Owner: droserasprout
- License: gpl-3.0
- Created: 2018-05-30T19:13:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T01:13:54.000Z (over 2 years ago)
- Last Synced: 2024-08-03T01:38:29.622Z (6 months ago)
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 38
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pacman-fix-permissions
Find and fix wrong filesystem permissions on Arch Linux instances without needing to reinstall every package.
Pro tip: use [lostfiles](https://archlinux.org/packages/community/any/lostfiles/) as a companion tool to find files pacman doesn't know about.
## Installation
### From [AUR](https://aur.archlinux.org/packages/pacman-fix-permissions)
```shell-script
# replace with your favourite AUR helper
yay -S pacman-fix-permissions
```### Local
```shell-script
# install required dependencies only and build package
DEV=0 make install
make build
# or prepare dev environment and run all checks
make
```## Usage
```
usage: pacman-fix-permissions [-h] [-a | -p [NAME ...] | -f [PATH ...]] [-c] [-v]options:
-h, --help show this help message and exit
-a, --all process all installed packages (default)
-p [NAME ...], --packages [NAME ...]
list of package names to process
-f [PATH ...], --filesystem-paths [PATH ...]
list of filesystem paths to process
-c, --clean clean up package cache after processing
-v, --version show program's version number and exit
```