Skip to content

Rename interface can only use symlinks #1387

Closed
@billbrod

Description

@billbrod

The utility.Rename interface calls utility.copyfile to rename the files passed to it, however it always uses a symlink and doesn't allow the user to specify whether they would rather copy the file instead. I'm working on a CIFS filesystem, where symlinks are not allowed (at least, users are not allowed to create them; calling os.symlink always returns [Errno 95] Operation not supported), and so this prevents me from being able to use the Rename interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions