You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#429 introduced the Boolean property setgid for explicitly setting the SGID permission.
But in the rpm and deb CopyActions setgid is mistakenly evaluated as a String. Since in Groovy any non-empty String is coerced to true, this leads to the SGID being set even if setgid = false.
Currently the only way to not set the SGID is to set setgid = null.
#429 introduced the Boolean property
setgid
for explicitly setting the SGID permission.But in the rpm and deb CopyActions
setgid
is mistakenly evaluated as a String. Since in Groovy any non-empty String is coerced to true, this leads to the SGID being set even ifsetgid = false
.Currently the only way to not set the SGID is to set
setgid = null
.Impacted Code:
gradle-ospackage-plugin/src/main/groovy/com/netflix/gradle/plugins/deb/DebCopyAction.groovy
Lines 138 to 143 in c915fd6
gradle-ospackage-plugin/src/main/groovy/com/netflix/gradle/plugins/rpm/RpmCopyAction.groovy
Lines 189 to 192 in c915fd6
The text was updated successfully, but these errors were encountered: