2

I'm copy/linking files and have found that a certain file really does not like to be hard linked.

Both gcp -alp Get_started_with_GoPro.url test (gnu-cp) and ln Get_started_with_GoPro.url test fail with Operation not permitted.

Other files link fine, and cp Get_started_with_GoPro.url test1; ln test1 test2 works just fine as well.

How can I find out what is preventing Get_started_with_GoPro.url file from being hard linked?

(I've also verified that other files with same permissions can hard link)

Stephen
  • 323

1 Answers1

1

The basic answer is that ls -l does not tell all. Viewing in Finder shows a padlock and "Get Info" shows that "Locked" is ticked.

Command to unlock "Locked" files on OS X has more details on how to change this from the command line.

Stephen
  • 323