How can I access and edit a text file found in a folder owned by another user?
I just want to:
- Open the text file, preferably in TextEdit.app.
- Edit the text.
- Save the file.
sudo cd /path/to/protected_folder, and entered admin password as prompted, without error. But then
ls shows me my starting directory rather than the
/path/to/protected_folder folder contents.
sudo open /path/to/protected_folder which does bring the Finder to the front, but with the protected folder showing and selected, but not opened.