Open the files
- On a computer or tablet, open the server's Files. Next to a terminal, open Files in its side panel. On a phone, choose + in Sessions, then Files of a server.
- In the bar at the top of the files, choose your user name: Open as root. After Permission denied., Retry as root does the same.
- If sudo needs a password, the app asks for it. It is used only to open the files as root.
- The bar now shows
root. Choose it again to go back to your user.
Edit and save
- Choose the file, then Edit. On a phone, touch and hold the file, then Edit.
- Make the change and choose Save.
- If the file changed on the server in the meantime, choose Overwrite, Reload or Compare.
- If saving would make you its owner, choose Make it mine or Write in place, which keeps the owner it has.
Get an earlier version back
In the editor, choose History, then Version history. Choose a version, then Restore.
If root does not open
The app says why: the user cannot use sudo, sudo works only in a terminal on that server, or the server has no sudo. Ask the server's administrator for sudo rights. More in Files.