0

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?

Zack
  • 2,078
  • 10
  • 33
  • 58

1 Answers1

2

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

rpm -qflv /usr/bin/bash |grep /usr/bin/bash
msuchy
  • 5,162
  • 1
  • 14
  • 26