Ticket #3834: allow-symlinks.diff

File allow-symlinks.diff, 582 bytes (added by humitos, 12 years ago)

This patch is not a solution, but it shows how it should work

  • src/jarabe/journal/model.py

    diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
    index 5285a7c..06f0464 100644
    a b class InplaceResultSet(BaseResultSet): 
    349349                    'Error reading target of link %r', full_path)
    350350                return
    351351
    352             if not os.path.abspath(link).startswith(self._mount_point):
    353                 return
     352            # if not os.path.abspath(link).startswith(self._mount_point):
     353            #     return
    354354
    355355            try:
    356356                stat = os.stat(full_path)