I have a config file, /etc/my.cnf that has permissions set via the finder gui to have read/write for anyone that's an "admin". My user is an admin (turns out I'm the only user as well), but when I open this file (it's plain text) in text edit it gives me an error on save saying that I don't have permissions for the folder that it's in. I can, however, use nano via the terminal and modify the file without any issues.
I don't want to set read/write permissions on /etc to everyone, so how do I make it so TextEdit (and thus other programs having the same problem) can write to that file?
I don't want to set read/write permissions on /etc to everyone, so how do I make it so TextEdit (and thus other programs having the same problem) can write to that file?