Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tarfile and hard-links #39687

Closed
aggression mannequin opened this issue Dec 10, 2003 · 4 comments
Closed

Tarfile and hard-links #39687

aggression mannequin opened this issue Dec 10, 2003 · 4 comments
Labels
stdlib Python modules in the Lib dir

Comments

@aggression
Copy link
Mannequin

aggression mannequin commented Dec 10, 2003

BPO 857297
Nosy @gustaebel
Files
  • tarfile-test.tar.gz: Tarfile Test
  • 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 = None
    closed_at = <Date 2004-07-21.07:15:26.000>
    created_at = <Date 2003-12-10.02:22:46.000>
    labels = ['library']
    title = 'Tarfile and hard-links'
    updated_at = <Date 2004-07-21.07:15:26.000>
    user = 'https://bugs.python.org/aggression'

    bugs.python.org fields:

    activity = <Date 2004-07-21.07:15:26.000>
    actor = 'lars.gustaebel'
    assignee = 'nnorwitz'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2003-12-10.02:22:46.000>
    creator = 'aggression'
    dependencies = []
    files = ['1136']
    hgrepos = []
    issue_num = 857297
    keywords = []
    message_count = 4.0
    messages = ['19351', '19352', '19353', '19354']
    nosy_count = 3.0
    nosy_names = ['nnorwitz', 'aggression', 'lars.gustaebel']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue857297'
    versions = ['Python 2.3']

    @aggression
    Copy link
    Mannequin Author

    aggression mannequin commented Dec 10, 2003

    The attachment has a tar.gz file which contains a file
    and an hard-link to that file. The Python script
    unpacks the tar file to 3 locations: the current
    directory, the current directory specified by absolute
    path and /tmp). In the machines I've tested it, when
    unpacking to /tmp (or any other directory that does not
    belongs to the same branch as the current) the
    hard-link is not created. Am I missing something ?

    I have tested it with the tarfile module that ships
    with Python 2.3.2, and with the CVS tarfile module, the
    behavior is the same.

    Regards
    Ricardo Martins

    @aggression aggression mannequin closed this as completed Dec 10, 2003
    @aggression aggression mannequin assigned nnorwitz Dec 10, 2003
    @aggression aggression mannequin added the stdlib Python modules in the Lib dir label Dec 10, 2003
    @aggression aggression mannequin closed this as completed Dec 10, 2003
    @aggression aggression mannequin assigned nnorwitz Dec 10, 2003
    @aggression aggression mannequin added the stdlib Python modules in the Lib dir label Dec 10, 2003
    @gustaebel
    Copy link
    Mannequin

    gustaebel mannequin commented Mar 15, 2004

    Logged In: YES
    user_id=642936

    I submitted a patch (bpo-916874) that fixes this.

    @nnorwitz
    Copy link
    Mannequin

    nnorwitz mannequin commented Jul 20, 2004

    Logged In: YES
    user_id=33168

    Checked in as:

    Perhaps this should be backported to 2.3?

    @gustaebel
    Copy link
    Mannequin

    gustaebel mannequin commented Jul 21, 2004

    Logged In: YES
    user_id=642936

    Yes, it should be backported.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants