Skip to content

Fix a few more issues with sage-uncompress-spkg #20871

@embray

Description

@embray

Fixes 2 issues:

  1. An outright bug following from Unpack all upstream tarballs into 'src' directory #20721: If the files in a tarball are not all under a top-level directory (shouldn't be the case, but possible), the -d flag did not work as advertised.

  2. Always unset setuid and setgid flags. There's no reason they should be set in a source tarball (I don't think?) and it will mitigate issues like nauty upstream source tarball has setgid on top-level directory #20870

Component: build

Author: Erik Bray

Branch/Commit: 0c2c9d4

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/20871

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions