I need to edit plist file of TextEdit (TextEdit/Contents/plist.info) for doing this, using Xcode. But TextEdit says that I've got no permission for edit
I've tried to get more permission for me, so I inscribed myself in GetInfo (Pasha is me).
But still the same problem as on the pictures above. I was searching for an answer and found this. As you can see, this answer suggests me to do what I've already done. So I hope you know the different solution for this problem.
Best Answer
You also need to have write permission to the directory the file is in:
After you have edited the file, change the owner of the plist and the directory back to root:
You could also run
cp /Applications/TextEdit.app/Contents/Info.plist ~/Desktop/
(which changes the owner to you), edit the file on the desktop, and then runsudo cp ~/Desktop/Info.plist /Applications/TextEdit.app/Contents/Info.plist
(which changes the owner back to root).Or use another editor: