M HYPE SPLASH
// general

Why can't I modify a file with UltraEdit?

By Emma Valentine

I just installed UltraEdit for Ubuntu, and I can open files and modify them, but when I try to save them I don’t have permissions.

Using the command line and Vim, I can sudo and make all the changes I want, but I am not sure how to get administrator privileges using a GUI.

How can I fix this?

0

1 Answer

The secret to this is the command gksudo or gksu

gksu is a frontend to su and gksudo is a frontend to sudo. Their primary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly.

You only need to use gksudo when editing system files:

So, for example, gksudo uex will prompt you for your password

enter image description here

If you want to invoke this in a GUI manner simply press Alt+F2 and type your command i.e.

enter image description here

Now - just to make clear - I'm assuming that ultraedit is the linux variant of the editor and you are not attempting to use the windows version of ultraedit running through wine.

My experience is that running anything with root privileges is a definite no-no - as explained in the Wine Wiki.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy