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?
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?