Qiime 2- amplicon-2024.10, installed on Ubuntu
I tried to import my data by qiime tools import
--type 'SampleData[PairedEndSequencesWithQuality] '
--input-path raw-data/manifest.tsv
--input-format PairedEndFastqManifestPhred33V2
--output-path demuxe-paired-end.qza
Then I got PermissionError: [Error13] Permission denied: 'demuxe-paired-end.qza
It looks like you don't have write permissions in the directory in which you ran that command. What sort of computing environment are you in--on your personal laptop, a university cluster, something else?
A couple of things worth checking: do you have a folder with the same name as your --output-path file name? Have you run out of storage on your laptop?
If neither of these, can you run the following and post the output:
The stat command is missing a period (.) after it.
A couple of things worth checking: do you have a folder with the same name as your --output-path file name? Have you run out of storage on your laptop?
Did you check these things?
If you feel comfortable doing so, can you run ls -lh in the directory in which you're running this command and post the output?
When you post command output please copy and paste it from the terminal and put it in a code block (between triple backticks: ``` ```) instead of taking a picture.
What I believe is happening is that the "root" user owns these directories but you're running the command as the "amnah" user. Since this is just on your personal laptop a simple fix will be to run chmod 777 . in the directory you're running the command in. You may need to run sudo chmod 777 . if the previous command gives you a permission error. This will give anyone write access to the directory, which should resolve the error you're seeing.
When I run chmod 777 . I got changing permissions of '.': Operation not permitted
Then run sudo chmod 777 . I got [sudo] password for amnah:
amnah is not in the sudoers file.
Hello@ colinvwood,
I have tried both but permission denied still
amnah@LAPTOP-S4MGA9IA:/root$ wsl --user root
Command 'wsl' not found, but can be installed with:
apt install wsl
Please ask your administrator.
amnah@LAPTOP-S4MGA9IA:/root$