How to lock a file


#1

when i finish a file ,is where a way to > lock it ,then can not modify it by accident or any …


#2

There is not a way built-in to Atom. Depending on your OS, there is most likely some method of making a file read-only through permissions or some other method.


#3

yeah,but can do like this way:just make this file ** false appearance** locked,not real locked,it just lock for atom,so when i use atom editor to changes this file alert a warning message,


#4

As I said, there is not a method to do this built-in to Atom.


#5

@Javacym you can try these 2 packages in combination: