Skip to content

edgeloom/pacman-fix-permissions

 
 

Repository files navigation

pacman-fix-permissions

Find and fix wrong filesystem permissions on Arch Linux instance without needing to reinstall every package.

Pro tip: use lostfiles as a companion tool to find files pacman doesn't know about.

Installation

From AUR

# replace with your favourite AUR helper
yay -S pacman-fix-permissions

Local

# 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 ...]]

optional arguments:
  -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

About

Fix broken Arch Linux filesystem permissions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 85.8%
  • Makefile 14.2%