You are not logged in.

#1 2012-10-04 17:24:04

battlepanic
Member
Registered: 2009-08-22
Posts: 76

Using "pacman -Qo" to find the owner of a symbolic link

Is there a way to get pacman to show the package owner of a file which is a symbolic link?  Note that I would like to know what owns the link file itself and not the file to which it points.

Offline

#2 2012-10-04 18:00:06

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Using "pacman -Qo" to find the owner of a symbolic link

It's standard behavior as far as I can see.

$  ls -l /sbin/shutdown 
lrwxrwxrwx 1 root root 18 Oct  3 23:14 /sbin/shutdown -> /usr/bin/systemctl
$  pacman -Qo /sbin/shutdown 
/sbin/shutdown is owned by systemd-sysvcompat 194-1

All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB