Bitbucket 5.5 security alert

Hi I just upgraded to bitbucket 5.5 and when running service I'm receiving following alert, any advice, I don't want my files or server insecure:

 

Starting Atlassian Bitbucket as dedicated user atlbitbucket

-bash: line 20: cd: /root: Permission denied

 

Starting bundled Elasticsearch

Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch

Bundled Elasticsearch started successfully

 

Bitbucket is being run with a umask that contains potentially unsafe settings.

The following issues were found with the mask "u=rwx,g=rwx,o=rx" (0002):

 - Access is allowed to 'others'. It is recommended that 'others' be denied

   all access for security reasons.

 - Write access is allowed to 'group'. It is recommend that 'group' be

   denied write access. Read access to a restricted group is recommended

   to allow access to the logs.

The recommended umask for Bitbucket is "u=,g=w,o=rwx" (0027) and can be

configured in _start-webapp.sh

1 answer

1 accepted

1 vote

Hi William,  does it fail to start? Or does it start despite the warning you're getting?

A similar issue was reported at Bitbucket is being run with a umask that contains potentially unsafe settings. Can you follow the advice? Most likely you just need to fix the permissions.

Let us know if you need further assistance!

Best regards,

Ana

Seems it starts , I modified suggested file and alert about mask is gone, but still show alert about /root permission denied. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

154 views 6 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you