Sublime Forum

Not saving license?

#1

I’m a little hesitant to ask because I am a Linux and Sublime Text newb.

I purchased a license and cut and pasted it. Sublime Text accepts it.

When I restart Sublime text it keeps showing as unregistered. I have to re-register it.

Any suggestions?

0 Likes

Can not remember open files last time
Can not remember open files last time
#2

What OS and version of ST are you using? If you’re on Ubuntu, make sure that ST can write to ~/.config/sublime-text-2/ (or whatever its settings path is).

Try opening up a terminal and entering the following: (Sorry if it’s wrong, it’s been a while since I used ST2 in Ubuntu)

cd ~/.config sudo chmod -R 777 sublime-text-2

0 Likes

#3

Dead on! Your memory still works.

Thanks!

FYI: I am running Sublime Text 2.0.1 Build 2217
on Ubuntu 12.10 (64 bit).

0 Likes

#4

Bad idea.
Steal ALL the user licenses!

Just use 700 I guess, and maybe only on directories.

0 Likes

#5

[quote=“Xaapyks”]

Bad idea.
Steal ALL the user licenses!

Just use 700 I guess, and maybe only on directories.[/quote]

Or just don’t run untrusted code…

But yeah, you’re right. 0600 would probably be the best, I don’t think anything that resides in there needs execute permission.

0 Likes

Unable to write license file: ~/.config/sublime-text-3/Local
Unable to write license file: ~/.config/sublime-text-3/Local
#6

for me, the chmod was fine, but the whole .config folder was owned by root for some reason. So, for me the following worked:

cd ~/.config sudo chown -R username: sublime-text-2/

0 Likes

#7

On a fresh ubuntu 22.04 install (wsl or docker container), I had to do do the following for sublime text 4.

 mkdir -p ~/.config/sublime-text/Local

It seems to not handle the .config folder missing.

0 Likes

#8

We have a fix for this in the works.

1 Like