1

I have a file if I put it in /tmp, I can read or write to it. But if I move to ~/Downloads, I can not read or write to it.

But the permission of the file is -rw-r--r--. Is there any additional permission used by Mac but accessible by ls? How to check this additional permission?

2

1 Answer 1

1

Yes, Downloads, Documents, and Desktop are special folders, to which additional privileges must be granted for any app that wants to use them. You can also give an app "Full Disk Access" in System Settings > Privacy & Security.

Not the answer you're looking for? Browse other questions tagged .