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.