Menu

#15 Symlinks to directories are not supported

open
nobody
Core lib (13)
6
2005-08-06
2000-08-09
No

Symlinks work only on a leaves of filesystem, i.e. files.

Discussion

  • Paul Sokolovsky

    Paul Sokolovsky - 2000-08-09

    The reason it was done so is "efficiency" - supporting symlinks to directories would require traversing and statting each directory on the path.

    But now that is done anyway, to check permissions on directories. The reason I didn't symlinks that time was idea that for root, that traversing isn't required, or specifically, it is better to do it in reverse order, so peroformance on non-symlinked files wasn't affected. Well, I guess such optimisations to be postponed for later time ;-)

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2000-08-09
    • priority: 5 --> 6
    • assigned_to: nobody --> pfalcon
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2005-08-06
    • assigned_to: pfalcon --> nobody
     

Log in to post a comment.