Bug 405 - fam follows symbolic links when monitoring a directory
: fam follows symbolic links when monitoring a directory
Status: NEW
Product: fam
Classification: Unclassified
Component: fam
: unspecified
: All All
: normal
: ---
Assigned To: Michael Wardle
:
:
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-09 07:49 CDT by jylefort
Modified: 2005-04-09 09:49 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jylefort 2005-04-09 07:49:46 CDT
Although
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=bks&fname=/SGI_Developer/books/IIDsktp_IG/sgi_html/ch08.html
states that "If you specify the pathname of a symbolic link to
FAMMonitorDirectory() or FAMMonitorFile(), FAM monitors only the symbolic link
itself, not the target of the link", FAM does follow symbolic links for
monitored directories, since it calls opendir() in the DirectoryScanner constructor.

You should only call opendir() if the file is not a symbolic link.