4

I know how to open/edit files from the server in FileZilla. I set up this:

/usr/bin/atom

in edit -> settings -> file editing

But the problem is that it opens the file in non-root Atom mode.

How to open file in Atom editor as root?

Asymetriko
  • 41
  • 1
  • 4
  • So you want to open a file from a server and edit it with Atom, but you can't edit it since you need root privileges? – MikeVe Feb 04 '16 at 21:47

3 Answers3

3

Follow this step to edit the file in atom of file zilla

Edit -> Settings -> File editing

Refer the below image

This is actually worked for me after configuring this setting.

Ankur prajapati
  • 485
  • 6
  • 9
0

This is not a problem of Atom. It has to do with the file-permissions on the server.

Even if you'd be able to start Atom as root you'll still not be able to view/edit files on the server. You have to change the permissions on the server-files.

Running a programm locally as root does not affect your permissions on a remote system.

MikeVe
  • 1,062
  • 8
  • 13
0

From top menu Select

Edit -> settings -> File editing

enter image description here

After changing the settings, If the changes not reflected for some reason restart FileZilla or select Reopen local file as below

enter image description here

Mohammed Abrar Ahmed
  • 2,290
  • 3
  • 15
  • 33