rpmrpmbuildrpm-specrpm-maven-plugin

how to list permissions of an rpm which is already installed?


how do i list file permissions of rpm which is already installed?

I know I can do it for rpm file which is not installed using -pqlv. But how do I do for rpm which is already installed when I do not have access to the rpm file?


Solution

  • Instead of -p use -q and you are done:

    rpm -qflv /usr/bin/bash |grep /usr/bin/bash