-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
MySQL Connector is not installing with correct directory permissions #241
Comments
lgooch
added a commit
to lgooch/puppet-jira
that referenced
this issue
Nov 26, 2020
This issue has recently caused me some pain as well so I've fixed the issue and opened a PR to merge the fix in. |
oranenj
added a commit
to cybercom-finland/puppet-jira
that referenced
this issue
Apr 14, 2021
oranenj
added a commit
that referenced
this issue
Apr 14, 2021
cegeka-jenkins
pushed a commit
to cegeka/puppet-jira
that referenced
this issue
Oct 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
I installed JIRA with this configuration (after a successful MySQL installation):
What are you seeing
Everything seems to install right in Puppet, but JIRA starts up and complains it can't find the MySQL connector JAR file. I can see it DID install though, in
/opt/MySQL-connector
.What behaviour did you expect instead
The problem appears to be that the JIRA module creates the permissions wrong for
/opt/MySQL-connector
. The directory is given permissions ofdrwxr-x---
and is owned by root. This means user jira can't see inside the directory. When I manually change the permissions usingchmod a+rx /opt/MySQL-connector
and restart JIRA, then JIRA can see the database and things work fine.Is there a workaround, or is it possible to get a new version of the JIRA module that sets the permissions correctly for /opt/MySQL-connector? I'd prefer it not be owned by user jira, as I'll be installing some other Atlassian tools on the same machine (and hopefully, they will use the same connector).
The text was updated successfully, but these errors were encountered: