-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error: fork/exec xxxx.tflint.d/plugins/tflint-ruleset-azurerm: permission denied #101
Comments
the same story but with 15:25:16 option.go:49: [DEBUG] CLI Options
15:25:16 option.go:50: [DEBUG] Module: false
15:25:16 option.go:51: [DEBUG] Force: false
15:25:16 option.go:52: [DEBUG] IgnoreModules: map[string]bool{}
15:25:16 option.go:53: [DEBUG] EnableRules: []string(nil)
15:25:16 option.go:54: [DEBUG] DisableRules: []string(nil)
15:25:16 option.go:55: [DEBUG] Only: []string(nil)
15:25:16 option.go:56: [DEBUG] EnablePlugins: []string{"google"}
15:25:16 option.go:57: [DEBUG] Varfiles: []string{}
15:25:16 option.go:58: [DEBUG] Variables: []string{"project_id=dev-test-01-295921"}
15:25:16 langserver.go:15: Starting language server...
15:25:16 config.go:96: [INFO] Load config: .tflint.hcl
15:25:16 config.go:108: [INFO] Default config file is not found. Ignored
15:25:16 config.go:117: [INFO] Load fallback config: /root/.tflint.hcl
15:25:16 config.go:125: [INFO] Fallback config file is not found. Ignored
15:25:16 config.go:127: [INFO] Use default config
15:25:16 handler.go:33: [INFO] Plugin `aws` is automatically enabled when the `aws` plugin configuration not found
15:25:16 discovery.go:68: [INFO] Plugin `google` found
2021-03-12T15:25:16.775+0300 [DEBUG] plugin: starting plugin: path=/root/.tflint.d/plugins/tflint-ruleset-google args=[/root/.tflint.d/plugins/tflint-ruleset-google]
15:25:16 langserver.go:19: Failed to start language server: fork/exec /root/.tflint.d/plugins/tflint-ruleset-google: permission denied |
@nk74 found it |
Umm... I was unable to reproduce this issue. Below is the environment I have confirmed:
If you're only having issues with v0.9, it's possible that the update to Go 1.16 is affecting you. |
I have the same problem but iwth the azure plugin. I am running go version go1.16.1 darwin/amd64 |
@krynn1 upload the plugin in |
I realized I had to make build the plugin. Is there be output if it runs successfully but doesn't find anything? |
No, but you can set log level to debug. You'll see if plugin was found |
We have found that this error occurs if a directory with the same name exists. The bug has been fixed in terraform-linters/tflint#1169. This issue will be closed, although there may be other causes. If you face a similar issue, open a new issue. |
Hello,
I'm trying to use your plugin but :
Failed to initialize plugins. An error occurred:
Error: fork/exec /Users/myUser/.tflint.d/plugins/tflint-ruleset-azurerm: permission denied
MacOs (BigSur) with TF v0.13.3 & go1.16 darwin/amd64
Already changed folder/files permissions
Thanks
The text was updated successfully, but these errors were encountered: