# q2-ITSxpress: PermissionError: \[Errno 13\] Permission denied: 'classifier.qza'

**URL:** https://forum.qiime2.org/t/q2-itsxpress-permissionerror-errno-13-permission-denied-classifier-qza/7663
**Category:** Library Support
**Tags:** feature-classifier
**Created:** [January 3, 2019, 5:20pm UTC](https://forum.qiime2.org/t/q2-itsxpress-permissionerror-errno-13-permission-denied-classifier-qza/7663 "2019-01-03T17:20:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pmehta](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/p/f0a364/32.png) [@pmehta](https://forum.qiime2.org/u/pmehta)
#### Post date: [January 3, 2019, 5:20pm UTC](https://forum.qiime2.org/t/q2-itsxpress-permissionerror-errno-13-permission-denied-classifier-qza/7663/1 "2019-01-03T17:20:45Z")

</div>

Hello all,

I am trying to train the QIIME classifier as mentioned in the Q2-ITSxpress tutorial.

I am using the following command on the server:

qiime feature-classifier fit-classifier-naive-bayes \

> --i-reference-reads unite.qza   
> --i-reference-taxonomy unite-taxonomy.qza   
> --o-classifier classifier.qza

And I am getting the following error:

Traceback (most recent call last):  
File "/opt/qiime2-2018.8/bin/qiime", line 11, in   
sys.exit(qiime())  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 722, in **call**  
return self.main(\*args, \*\*kwargs)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 697, in main  
rv = self.invoke(ctx)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 1066, in invoke  
return \_process\_result(sub\_ctx.command.invoke(sub\_ctx))  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 1066, in invoke  
return \_process\_result(sub\_ctx.command.invoke(sub\_ctx))  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 895, in invoke  
return ctx.invoke(self.callback, \*\*ctx.params)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 535, in invoke  
return callback(\*args, \*\*kwargs)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/q2cli/commands.py", line 294, in **call**  
path = result.save(output)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/qiime2/sdk/result.py", line 148, in save  
self.\_archiver.save(filepath)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/qiime2/core/archive/archiver.py", line 347, in save  
self.CURRENT\_ARCHIVE.save(self.path, filepath)  
File "/opt/qiime2-2018.8/lib/python3.5/site-packages/qiime2/core/archive/archiver.py", line 162, in save  
allowZip64=True) as zf:  
File "/opt/qiime2-2018.8/lib/python3.5/zipfile.py", line 1009, in **init**  
self.fp = io.open(file, filemode)  
PermissionError: [Errno 13] Permission denied: 'classifier.qza'

I will be very grateful for any help regarding this.

---

<div class="post-metadata">

### Author: ![colinbrislawn](https://forum.qiime2.org/user_avatar/forum.qiime2.org/colinbrislawn/32/6221_2.png) [@colinbrislawn](https://forum.qiime2.org/u/colinbrislawn)
#### Post date: [January 3, 2019, 8:41pm UTC](https://forum.qiime2.org/t/q2-itsxpress-permissionerror-errno-13-permission-denied-classifier-qza/7663/2 "2019-01-03T20:41:06Z")

</div>

Good afternoon!

Thank you for posting that detailed log file. Let me see how I can help.

This is the main error:

> [@pmehta](#):
>
> PermissionError: [Errno 13] Permission denied: ‘classifier.qza’

and I think that has to do with this:

> [@pmehta](#):
>
> I am using the following command on the server:

Looks like your account on the server does not have access to open up the classifier.qza file. Whoever set up Qiime on this server can give your account access to this file so that the command will run.

Alternatively, you could [use this tutorial](https://docs.qiime2.org/2018.11/install/native/) to install qiime yourself (so that you own all the files and don't have any issues!)

Let me know if this works for you!  
Colin
