超算无法删除赝势文件夹
问题:
rm -r potcar/
rm: descend into write-protected directory ‘potcar/PBE/Ag_pv’? y
rm: remove write-protected regular file ‘potcar/PBE/Ag_pv/POTCAR’? y
rm: cannot remove ‘potcar/PBE/Ag_pv/POTCAR’: Permission denied
原因:
权限问题,原子目录的权限没有w
用递归的方法加上就行。
方法:
chmod -R 777 potcar
rm -rf potcar
浙公网安备 33010602011771号