Search code examples
sublimetext2sublimetext

How to make sublime saving files without asking for permissions?


I am using Sublime Text 2 on my Mac (10.9)

It's quite weird that for over 3 months, it works fine. Today it suddenly prompts me to enter the administrator's password to save a file.

I installed this very popular plugin today. But I don't know why this is connected.

It's quite annoying to enter admin's password every time I save a file (actually not every time but quite often)

Is there anything I need to check?

Thanks!


Solution

  • I figured out that those files were created by vim when I am using my Mac as root. So with a chown myusername filename the problem solved.

    Anyway I am not sure whether this is 100% reliable because I did not retry it for many times.