Skip to content

Unexpected enforced file permissions when the archive is created from STDIN #5333

@schors

Description

@schors

I create the archive from STDIN:
borg create --umask 0022 --compression lz4 --stdin-name dbname.sql '::mysql-dbname-{now:%Y-%m-%dT%H:%M:%S}' -
File in the archive has 660 permissions:

borg list ::mysql-dbname-2020-09-11T06:25:38
-rw-rw---- root   root    8667267 Fri, 2020-09-11 06:25:41 dbname.sql

I tried to set different umask, nothing changed. I created the archive without umask, nothing changed. I did new clean init every time

borg -V
borg 1.1.13

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