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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.