How to reproduce:
- Run sublime with normal privileges
- Open some files for editing
- run
sudo subl <thisfile>
- Close tab with
NOW: you can File->Open and change any file on system
EXPECTED: whole instance of sublime text must not have root rights. Only this tab must have access to edit only and have no access to open others with root privileges
EXCEPTION is when whole sublime instance are run with root rights: sudo subl
(eg. without file arguments)