Sublime Forum

How to edit to remote server file using sudo user of linux

#1

I have sublime 3.0 version. I am using plugin simple sftp for editing my server file. However this file has ownership of www-data for all file and my user user1 is sudo user so I can change any file by typing sudo before file name in my linux server with use of text editor. But in sublime how to work with sudo user?

0 Likes

#2

Have you tried saving a file that you edited on sublime text? Usually st asks for privilege escalation when you don’t have permissions to write a file.

0 Likes