Skip to content

Directory permission is not applied for deb packaging #467

Description

@fh-yuxiao-zeng

I'm creating a directory using the following build.gradle script:

buildDeb {
    ...

    directory '/var/lib/app/data', 0770, 'root', 'app'
}

So it's supposed to create the directory owned by root:app with mode 770. However, when I examine the generated bundle, the permission is the default 750 instead of 770.

Am I using the plugin in a wrong way, or is it an issue with the plugin?

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