#38 Symlink creation not detected

closed-fixed
None
5
2011-02-18
2010-04-23
Tobias Geis
No

The inotify.c does not recognize a creation if a symlink.
When i symlink a directory in a watch dir, the symlink dir is not recognizes and not scanned. When i delete the dir symlink there is thrown a "file deleted" event!

But when the symlink was created befor minidlna starts initialy it will be scanned by scanner.c

Discussion

  • This bug is the one thing I've found so far that makes minidnla not work perfectly for me. I use a directory with symlinks pointing to the last episode I have seen of various serials, and update the link when I have watched something.

    In rather a short time, the directory becomes empty, because minidnla sees the deletes, but not the creations of new links.

     
  • I thought I had a work-around, by creating hardlinks instead of symlinks, but that fails too.

     
  • Justin Maggard
    Justin Maggard
    2011-02-18

    Thanks for reporting this issue. It should be fixed now in the latest code in CVS. Please reopen the bug if it still doesn't work for you.

     
  • Justin Maggard
    Justin Maggard
    2011-02-18

    • assigned_to: nobody --> jmaggard
    • status: open --> closed-fixed