Opened 14 years ago

Closed 14 years ago

#133 closed defect (fixed)

:unsub doesn't work if ~/.zephyr.subs is a symlink

Reported by: Owned by:
Priority: minor Milestone:
Component: internals Keywords:


My ~/.zephyr.subs is a symlink so that I can easily switch subs lists.

However, when I try to :unsub, I get "[Error] No subscription present in /afs/"

I did a little bit of source diving, and I think this is because BarnOwl handles unsubs by creating a new file without the sub, then rename()ing it over the old subs file.

Change History (4)

comment:1 Changed 14 years ago by

That's a little odd. It "should" really clobber the symlink. Does the actual error message get logged anywhere?

comment:2 Changed 14 years ago by

Wed Apr  7 17:42:36 2010 Cannot link /afs/ Is a directory
Wed Apr  7 17:42:36 2010 No subscription present in /afs/

(No, .zephyr.subs.backup is not a directory)

comment:3 Changed 14 years ago by

  • Cc added
  • Owner set to
  • Status changed from new to assigned

comment:4 Changed 14 years ago by

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