0

OS: MacOS

When I try locate acronym a folder named acronym and all the contents in the folder are getting displayed, but I am not able to view or open any of those files.

I was able to view and access these a couple of seconds ago. I did not change the permission. All I did was remove the .git folder from the parent directory.

enter image description here

hardillb
  • 1,552
  • 2
  • 12
  • 23
Surya
  • 253
  • 1
  • 2
  • 8
  • This question appears to be off topic. We do not normally accept general operating system questions. You may be able to get help on one of our sister sites such as [unix.se], [su] or [apple.se]. – Michael Hampton Jan 11 '21 at 21:06

1 Answers1

1

locate uses a database generated by walking the filesystem.

The database is updated by a low priority background task so can be out of date.

hardillb
  • 1,552
  • 2
  • 12
  • 23