.gz
我有一个要删除的文件列表(传输过程中一定出了问题,现在已损坏),列表如下:
drwxrwxrwx 2 root root 8192 May 3 09:42 .
drwxrwxrwx 2 root root 8192 May 5 09:41 ..
-rwxrwxrwx 1 root root 10937670989 Oct 6 2020 C7AR31_S3_R1_001.fastq.gz
-rwxrwxrwx 1 root root 11002672431 Apr 26 2019 C7AR31_S3_R2_001.fastq.gz
-rwxrwxrwx 1 root root 6148 Apr 10 15:39 .DS_Store
drwxrwxrwx 2 root root 0 Oct 12 2020 listSRAfiles
-rwxrwxrwx 1 root root 10158755320 Apr 26 2019 MBP15_S7_R1_001.fastq.gz
-rwxrwxrwx 1 root root 10286656454 Apr 26 2019 MBP15_S7_R2_001.fastq.gz
-rwxrwxrwx 1 root root 10008917458 Apr 26 2019 MBP2_S4_R1_001.fastq.gz
-rwxrwxrwx 1 root root 10148315950 Apr 26 2019 MBP2_S4_R2_001.fastq.gz
-rwxrwxrwx 1 root root 10589508845 Apr 26 2019 T51_S8_R1_001.fastq.gz
-rwxrwxrwx 1 root root 10768807303 Apr 26 2019 T51_S8_R2_001.fastq.gz
drwxrwxrwx 2 root root 0 Apr 27 13:42 Tragelaphini
我尝试过sudo rm -rf *.gz
但没有成功
rm: cannot remove ‘C7AR31_S3_R1_001.fastq.gz’: Permission denied
rm: cannot remove ‘C7AR31_S3_R2_001.fastq.gz’: Permission denied
rm: cannot remove ‘MBP15_S7_R1_001.fastq.gz’: Permission denied
rm: cannot remove ‘MBP15_S7_R2_001.fastq.gz’: Permission denied
rm: cannot remove ‘MBP2_S4_R1_001.fastq.gz’: Permission denied
rm: cannot remove ‘MBP2_S4_R2_001.fastq.gz’: Permission denied
rm: cannot remove ‘T51_S8_R1_001.fastq.gz’: Permission denied
rm: cannot remove ‘T51_S8_R2_001.fastq.gz’: Permission denied
我尝试更改所有者 ( chown
) 但没有成功。
有任何想法吗? (我对 Linux 还很陌生,如果我遗漏了什么,请原谅我)
答案1
我在虚拟机上的 Ubuntu 上,文件位于已安装的磁盘上并由其他人传输,所以我不确定他们使用了什么命令
是的,抱歉,我的原始帐户被锁定了!