1

There is a file in my /opt/local/include folder on OSX that I wish to edit.

This is currently set to 'Read only'. So, to allow me to edit, I have selected get info, then under sharing and permissions I have added myself, and given me the privileges Read and write. However, I now open the file and am still unable to save it.

What do I need to do to allow me to edit and save this file?

1 Answers1

3

You're using an editor that, when saving, replaces the file instead of changing its contents.

Give yourself permissions for the parent folder and you'll be able to save, or use another editor.

Daniel Beck
  • 111,893