Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Сan't attach a picture to a test case


Can’t attach a picture to a test case, error “Attachments directory is not writable”.

Please help me, to fix it.


Hi Constantine,

Thanks for your posting. I assume you use a self-hosted installation of TestRail, is this correct? It seems that TestRail/your web server doesn’t have the required permissions to create files in the attachment directory. You can look up the configured attachment directory in the administration area under Administration > Site Settings and check the permissions when saving the site settings. You can also learn more about configuring the permissions here:

I hope this helps!



Thanks, that was my bad.
when I opened the project locally, I forgot to list the Attachment Directory.


Great to hear that it works now!