Cannot interact with com.apple.quarantine'd file with Mac terminal?

571 Views Asked by At

I have a file, abc.bin

~ ls -al
...
-rw-r--r--@    1 username  groupname    285342 Jul 23 14:45 abc.bin
...

I see that it has the apple @ additional metadata things

~ ls -l@
-rw-r--r--@    1 username  groupname    285342 Jul 23 14:45 abc.bin
    com.apple.metadata:kMDItemWhereFroms         212 
    com.apple.quarantine          58 

But I cannot do anything with it:

~ xattr -d com.apple.quarantine abc.bin
xattr: No such file: abc.bin
~ sudo xattr -d com.apple.quarantine abc.bin
Password:
xattr: No such file: abc.bin
~ chmod +wrx abc.bin                      
chmod: abc.bin: No such file or directory
~ rm abc.bin
rm: abc.bin: No such file or directory
~ cp abc.bin asdf.txt
cp: abc.bin: No such file or directory
~ mv abc.bin zyx.bin
mv: rename abc.bin to zyx.bin: No such file or directory

What's going on here? Why can I see this file but not interact with it? How do I fix this?

0

There are 0 best solutions below