-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optional parents info #29
Optional parents info #29
Conversation
Sorry if it's not related, but issues are not available for this project. I'm trying to use addParentDirs as explained in this pull request to avoid changing ownership for parent directories as explained here: https://code.google.com/p/redline-rpm/issues/detail?id=16&can=1 but it's not working. build.gradle apply plugin: 'rpm'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.trigonic:gradle-rpm-plugin:1.3'
}
}
task fooRpm(type: Rpm) {
packageName = 'foo'
version = '1.2.3'
release = 1
arch = I386
os = LINUX
into '/opt/myapps/foo'
from('myfile') {
addParentDirs = false
user = "games"
into 'lib'
}
} Here is my session of installing the result rpm:
As you can see even if myapps/ folder already existed and had 'tomcat' ownership, it has changed to 'games' after installing rpm even when I specified addParentDirs=false |
I've just gotten a chance to look at this, and what is posted up on Maven Central for the compiled software seems a bit odd.
|
I'm able to replicate this on my system. It's a bit late to track down tonight, but I'll see what I can do tomorrow. |
Forgot to add the README.md and History.md changes to my original commit.