Error when running tests with Git LFS

Hello!

I am trying to run some object detection tests on Circle CI. For that reason, I have created a dataset as input to my detection algorithms, and I have used Git Large File Storage to store them.

For the tracking of the files with Git LFS, a .gitattributes file has been created with the patterns of the files I want to track.

When i run the tests locally, everything is successful. However, when I push and the Circle CI pipeline is triggered, the tests return nothing and fail. And on the checkout command i get the following error:

error: tar: .gitattributes: Cannot open: Permission denied tar: Exiting with failure status due to previous errors

It seems like this file cannot be copied, and I guess that for that reason, the tests cannot get the images.

How can I solve that? Any input would be appreciated. Thank you!

[Solved]
Silly problem. Simply changing permissions to .gitattributes with a chmod command solved the issue.