mborgerson / fatx

Original Xbox FATX Filesystem Library, Python bindings, FUSE driver, and GUI explorer
GNU General Public License v2.0
127 stars 22 forks source link

Operation not permitted #56

Open performcanhe opened 2 years ago

performcanhe commented 2 years ago

Below are the commands I ran:

mkdir /mnt/f
fatxfs /dev/sdc /mnt/f --drive=f
cd /mnt/f
rsync -ra /mnt/ftp/games/  /mnt/f/games

I got error as below:

True Crime - Streets of LA/Data/Sounds/VOR_132.wav
True Crime - Streets of LA/Data/Sounds/VOR_137.wav
True Crime - Streets of LA/Data/Sounds/Vn01_Pnk.wav
True Crime - Streets of LA/Data/Sounds/Vn02_Fng.wav
True Crime - Streets of LA/Data/Sounds/Vn03_Guy.wav
rsync: [receiver] rename "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn02_Fng.wav.jhOBCX" -> "True Crime - Streets of LA/Data/Sounds/Vn02_Fng.wav": Operation not permitted (1)
rsync: [receiver] mkstemp "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn03_Guy.wav.A5RlkX" failed: Operation not permitted (1)
True Crime - Streets of LA/Data/Sounds/Vn04_Chg.wav
rsync: [receiver] mkstemp "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn04_Chg.wav.yjpgmX" failed: Operation not permitted (1)
True Crime - Streets of LA/Data/Sounds/Vn05_Frc.wav
rsync: [receiver] mkstemp "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn05_Frc.wav.sWZ0cZ" failed: Operation not permitted (1)
True Crime - Streets of LA/Data/Sounds/Vn06_Gns.wav
rsync: [receiver] mkstemp "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn06_Gns.wav.ieEduW" failed: Operation not permitted (1)
True Crime - Streets of LA/Data/Sounds/Vn07_Cks.wav
rsync: [receiver] mkstemp "/mnt/f/games/True Crime - Streets of LA/Data/Sounds/.Vn07_Cks.wav.wgGwkZ" failed: Operation not permitted (1)
True Crime - Streets of LA/Data/Sounds/Vn08_Mbs.wav
mAPBhlJ commented 1 year ago

I'm having a comparable problem, tried to delete all files/folders from the FATX F partition, it shows 'operation not permitted' even though I'm root.

# rm -rf /home/user/Desktop/xboxf/*
xboxf/Alias/shell_xbox/res/common/sound': Operation not permitted
xboxf/Alter Echo/ODB Data/ODB MEDIA/xmu': Operation not permitted
xboxf/Armed and Dangerous/streams': Operation not permitted
xboxf/Marc Ecko's Getting Up/textures/tag_art": Operation not permitted
xboxf/Marvel Nemesis - Rise Of The Imperfects/Anims': Operation not permitted
xboxf/Marvel Nemesis - Rise Of The Imperfects/AnimTags': Operation not permitted
xboxf/Marvel Nemesis - Rise Of The Imperfects/Models': Operation not permitted
xboxf/NBA 2K2': Operation not permitted
xboxf/NBA 2K3': Operation not permitted
xboxf/NCAA College Basketball 2K3': Operation not permitted
xboxf/NCAA College Football 2K3': Operation not permitted
xboxf/NFL 2K2': Operation not permitted
xboxf/NFL 2K3': Operation not permitted
xboxf/Phantasy Star Online Episode I & II/dvd/scene': Operation not permitted

Actually, for some weird reason; when opening the folder in the GUI of Ubuntu, I was able to delete some of the files.

Only "Marvel Nemesis - Rise Of The Imperfects" and "Phantasy Star Online Episode I & II" don't seem to be able to be deleted in any way.

Maybe related to the "-" and "&" in the file path?

aRUNTU commented 5 months ago

Same problem here, some files like "c_drdmk1_bat1.wav" (KOTOR) refuse to be copied. Using another windows non-free app I get to copy those files to the F partition but I can observe that even that app has a drop in the MB/s that arrives to 0, but after 2 or 3 seconds, as I said, it gets to copy the file. It can arrive with large files of several GB to others of just 40 Kb. It is really a mystery. I even tried to slice those large files (under 3 and 2 GB) and recompose them on the F partition and for whatever reason, the fatal message appeared*. Any hints?

*It appears more or less at the part correspondent to the bites wich pressumably active the error when the file is being copied without slicing , if the file is lets say, 3 gb and the problem arrives when 2,8 gb are copied then the slice number 1 and 2 will pass but not the third one, acitivating the error when 0,8 gb have been already copied, further forensics are impossible but lack of time

If I partially copy one problematic file and then I retry without erasing it (with another name) same happens, wich makes me thing than it is like a cursed bit of the file, but it goes unnoticed when using other HDDs WITH another filesystems (fat32 for example)

EDIT: the other program now says the file is corrupt too. I tried with ddrescue, no luck neither, so I guess that sometimes s*** happens and yo can do nothing about it, but it is clear to me that it is not a fatx error , so after MANY hours of research, I could say that this topic should be marked as solved, as it is a file problem, not a fatx one