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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Set permission for directories and files in bitbucket-pipeline.yml Edited

Hi,

Does someone know how to set up permissions for directories and files in bitbucket-pipeline.yml?

The problem is, when pipeline is run and push files from repo to my server it set permissions to 777 for directories and 666 for files. I want that when pipeline send files to my server, automaticaly set 755 for directories and 644 for files.

I tried with after_script:
                       - chmod -R a+rX *

but not working :/  Also tried with chmod -R 755 .  --> also not working

Any help will be welcome. Thanks in advance.

1 answer

0 votes

Hi Dusan,

can you share your bitbucket-pipelines.yaml file and the error message you are receiving?

Thanks,

Max

so, i'm having the same issue, was this ever resolved?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

160 views 0 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you