I've got permissions problems with files on my MacOS 10.13.4 desktop.
When I try to correct the problems by hand, I see a curious issue:
Matt$ sudo chown Matt:Engineers TestFile chown: TestFile: Operation not permitted Matt$ ls -l -rwx------ 1 _unknown _unknown 24281 Jul 19 2016 TestFile
This file was copied as part of a large data transfer from another system with different users. However, chmod should still honor root authority, and even with an unknown user ID, should still allow root or a sudoer to change it.
Any ideas on this situation?
How can assert authority over this file, and correct its ownership and permissions?