I was thinking about this one: os.path.islink(*path*)ΒΆ<http://docs.python.org/library/os.path.html#os.path.islink>Return True if *path* refers to a directory entry that is a symbolic link. Always False if symbolic links are not supported.But your one might indeed offer the possibility to distinguish between relative and absolute
2009/11/19 Bernat <bera...@ya.com> > For backup purposes I don't see any benefit in being able to browse > links. It might be misleading indeed, think about restoring a directory > link and its content, would it restore the real directory in addition to > the directory link? > > My best solution would be making links non-browseable and show where > they point to, that's the real information being saved and this could be > the easiest fix. > > Any other solution should make the user aware when going outside the > snapshot. Links pointing outside the snapshot can be absolute and > relative (like ../../../..), but they could also point items in the > excluded list. All this should be checked in case you want to make some > links browseable. > > Just my 2 cents. > > -- > Soft links in snapshots should not be browseable > https://bugs.launchpad.net/bugs/447841 > You received this bug notification because you are a member of Back In > Time Team, which is subscribed to Back In Time. > > Status in Back In Time: In Progress > > Bug description: > When browsing soft links in snapshots they take you to the current > directories/files without notice unless they're relative and completely > contained in the snapshot. They should have a specific display and browsing > them should be disabled since they might take you outside the snapshot. Even > when they would work as expected it would be best showing them as > non-browseable soft links. > > _______________________________________________ > Mailing list: > https://launchpad.net/~bit-team<https://launchpad.net/%7Ebit-team> > Post to : bit-team@lists.launchpad.net > Unsubscribe : > https://launchpad.net/~bit-team<https://launchpad.net/%7Ebit-team> > More help : https://help.launchpad.net/ListHelp > -- Soft links in snapshots should not be browseable https://bugs.launchpad.net/bugs/447841 You received this bug notification because you are a member of Back In Time Team, which is subscribed to Back In Time. Status in Back In Time: In Progress Bug description: When browsing soft links in snapshots they take you to the current directories/files without notice unless they're relative and completely contained in the snapshot. They should have a specific display and browsing them should be disabled since they might take you outside the snapshot. Even when they would work as expected it would be best showing them as non-browseable soft links. _______________________________________________ Mailing list: https://launchpad.net/~bit-team Post to : bit-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~bit-team More help : https://help.launchpad.net/ListHelp