Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,641,775
Community Members
 
Community Events
196
Community Groups

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

2 answers

1 accepted

1 vote
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 26, 2017

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. 

@Ana Retamal that link is you posted on the similar issue isn't working anymore. I would like to know how I can manage to change that configuration since it says:

"and can be"
echo "configured in _start-webapp.sh"

When I enter to the _start-webapp.sh, there is nothing where I can change. The file have if and echos and comments, nothing else.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events