Opened 14 years ago

Closed 14 years ago

#133 closed defect (fixed)

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

Reported by: broder@mit.edu Owned by: jgross@mit.edu
Priority: minor Milestone:
Component: internals Keywords:
Cc:

Description

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/athena.mit.edu/user/b/r/broder/.zephyr.subs"

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 kcr@mit.edu

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 broder@mit.edu

Wed Apr  7 17:42:36 2010 Cannot link /afs/athena.mit.edu/user/b/r/broder/.zephyr.subs.backup: Is a directory
Wed Apr  7 17:42:36 2010 No subscription present in /afs/athena.mit.edu/user/b/r/broder/.zephyr.subs

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

comment:3 Changed 14 years ago by jgross@mit.edu

  • Cc jgross@mit.edu added
  • Owner set to jgross@mit.edu
  • Status changed from new to assigned

comment:4 Changed 14 years ago by jgross@mit.edu

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