Ticket #1044 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

cave owner should have a flag to dereference symbolic links recursively

Reported by: greenrd Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description

/usr/bin/haddock is a symlink to a symlink (because of alternatives), so I have to do something like:

sudo cave owner $(readlink -f `which haddock`)

to find the owner of the actual executable file. This is a little unwieldly.

What would be nice is to be able to say something like this instead:

sudo cave owner -d `which haddock`

And because I don't know if some random file in /usr/bin/ is a symlink, I might want to do this every time for executables, not just for cases that I know are symlinks.

Change History

comment:1 Changed 8 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.