Skip to content

directory permissions broken after extraction if single file is extracted #1751

@AxelRHD

Description

@AxelRHD

Hello Borg-Team,

I have problems with the extract-function. Had to backup with sudo because of file permissions (f. e. backing up the /usr/local/bin-folder). The directory-permissions changed from drwx r-x r-x (original file, also in archive) to drwx --- --- (created directory at extraction time).

I used the command sudo borg extract repo::archive usr/local/bin/file to restore a single file.

Is there something wrong in my usage of the extraction-tool or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions