access denied with maven teamcity-configs:generate
Answered
When I'm trying to work on TeamCity Kotlin DSL locally, I receive the following error when attempting to run:
maven teamcity-configs:generate
Error while generating TeamCity configs:
Runtime error RootProjectId: java.security.AccessControlContext[472]: java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/REDACTED_PATH/.teamcity/pluginData/_Self" "read")
I've tried creating folders and files at that location, changing permissions... Not sure what I need to do in order to test these DSL scripts locally.
I'm on macOS. I've tried from the command line and from IntelliJ IDEA. System info:
$ java --version
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
$ kotlin -version
Kotlin version 1.3.50-release-112 (JRE 11.0.1+13)
$ mvn --version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T13:41:47-05:00)
Maven home: /Users/REDACTED/.sdkman/candidates/maven/current
Java version: 11.0.1, vendor: Oracle Corporation, runtime: /Users/REDACTED/.sdkman/candidates/java/11.0.1-open
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
edited: downvote editors without markdown
Please sign in to leave a comment.
Hi Jeremy,
We have a related bug in our YouTrack. Please check it for more information.