我正在整理我的备份驱动器
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC# ls -la | grep Goo
drwx-w--w- 1 pi pi 4096 Nov 17 2016 Google Calendar - Month of Nov 2016_files
-rw------- 1 pi pi 673696 Nov 17 2016 Google Calendar - Month of Nov 2016.htm
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC# chmod 777 Google\ Calendar\ -\ Month\ of\ Nov\ 2016_files/
更改权限
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC# ls -la | grep Goo
drwxrwxrwx 1 pi pi 4096 Nov 17 2016 Google Calendar - Month of Nov 2016_files
找到一个文件夹并列出一个示例文件
进入一个目录并列出一个示例
root@raspberrypi:/media/pi/Seagate Expansion Drive# ls -l | grep Jane-
drwxr-xr-x 1 pi pi 24576 Jun 20 2018 Jane-PC
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC# cd Google\ Calendar\ -\ Month\ of\ Nov\ 2016_files/
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC/Google Calendar - Month of Nov 2016_files# ls -l | grep rsA
-rw------- 1 pi pi 137650 Nov 17 2016 rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw
-rw------- 1 pi pi 315600 Nov 17 2016 rsANwU0p4TXBrw57nAJSu_NbEilyn1-9G5yA
尝试改变属性
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC/Google Calendar - Month of Nov 2016_files# chmod 777 rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw
chmod: changing permissions of 'rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw': Operation not supported
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC/Google Calendar - Month of Nov 2016_files# chown root:root rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw
chown: changing ownership of 'rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw': Operation not supported
找到 inode 并尝试删除它
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC/Google Calendar - Month of Nov 2016_files# ls -li | grep rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw
87770 -rw------- 1 pi pi 137650 Nov 17 2016 rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw
root@raspberrypi:/media/pi/Seagate Expansion Drive/Jane-PC/Google Calendar - Month of Nov 2016_files# find . -inum 87770 -exec rm -i {} \;
rm: remove regular file './rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw'? y
rm: cannot remove './rsAA2YrTtjxqe5r5aTKPlGbDLVedABH8C6Lw': Operation not permitted
那么接下来怎么办?
答案1
sudo apt-get install ntfs-3g
修复