Skip to content

consider permissions on payload dir #22

@dchud

Description

@dchud

bagit.py uses tempfile.mkdtemp() to generate the payload dir, which by definition limits to user-only read/write/search perms:

https://docs.python.org/2/library/tempfile.html#tempfile.mkdtemp

We work around this outside of bagit.py, but it might be worth considering reassigning more liberal perms to the payload upon completion, or at least optionally per user request on the bagit.py commandline (--group-readable or --perms 0755 or somesuch?).

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