Re: [ Pacman -Syu ] Creating temporary files..., error: command failed to execute correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dear Eli,

Thank you!

Is there a way to ask paccheck to list only files that need to be fixed?

For example, if I run

    sudo paccheck --file-properties --quiet

I get list of files with package information and error information, such as

    screen: '/usr/lib/tmpfiles.d/screen.conf' permission mismatch (expected 644)

Or maybe I need to write a regular expression to extract file name and path from such an output myself?

Yours sincerely,

Xianwen



On 08/09/2019 19.14, Eli Schwartz via arch-general wrote:
On 9/8/19 8:21 AM, Xianwen Chen (陈贤文) via arch-general wrote:
Dear Ralph and Eli,

Thank you.

As Ralph suspected, there are quite many files on my system that had
wrong permissions or GID's.

Is there a way to automatically correct all the permissions and GID's?
Once more from the pacutils package, comes the "pacrepairfile" command.
Given a list of files and the (separate, additive) arguments --uid --gid
--mode --mtime you can reset the file to what its mtree data specified.
If the file size/contents differ, you will have to do a bit of manual
work yourself, or reinstall the package.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux