Skip to content

shutil.move fails to move symlink (Invalid cross-device link)#70978

@Unode

Description

@Unode
mannequin
BPO26791
Nosy@tarekziade, @websurfer5, @iritkatriel
PRs
  • bpo-26791: update shutil.move() to provide the same symlink move behavior as the mv shell when moving a symlink into a directory that is the target of the symlink #21759
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee=Noneclosed_at=Nonecreated_at=<Date2016-04-17.16:58:17.148>labels= ['type-bug', 'library', '3.9', '3.10', '3.11'] title='shutil.move fails to move symlink (Invalid cross-device link)'updated_at=<Date2021-11-30.12:28:21.452>user='https://bugs.python.org/Unode'

    bugs.python.org fields:

    activity=<Date2021-11-30.12:28:21.452>actor='iritkatriel'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2016-04-17.16:58:17.148>creator='Unode'dependencies= [] files= [] hgrepos= [] issue_num=26791keywords= ['patch'] message_count=6.0messages= ['263616', '263617', '263654', '374648', '374916', '407371'] nosy_count=5.0nosy_names= ['tarek', 'Unode', 'Jeffrey.Kintscher', 'iritkatriel', 'Murray Wilson'] pr_nums= ['21759'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue26791'versions= ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions