Linux.com

Home Linux Community Forums Linux Distributions Ubuntu Modifying restricted folders without terminal

Modifying restricted folders without terminal

Link to this post 23 Dec 11

Hello guys, I have Ubuntu 11.10 and installed Xampp for linux on it, but the Xampp installation requires that you extract it in the /opt folder, I am the administrator of the OS, but whenever I want to modify a content in the folder, it doesn't want to change, it's like I am just a user, but when I attempt to modify it with the terminal using sudo, it works just fine, but it takes time, and I really don't like to waste my time, so please, tell me a way to be able to modify the /opt folder without having to do it in the terminal. Thank you.

Link to this post 23 Dec 11

Nick,

You can always log into whatever Desktop Environment you're using as root. However I believe it will just take time to extract the files period, unless you're talking about having to do something manually. It's probably not what you want to hear but the fastest solution is most likely using the shell.

-MM

Link to this post 24 Dec 11

Yeah, you are right MasenM, I figured it out. I just had to call the Geany text editor with sudo, like so:
sudo geany
then I would be able to save my files in any directory.
Thanks for your reply.
BTW: It looks like you are the only one replying to my posts, these forums aren't really that active, maybe I should try to find a better Linux forum.

Link to this post 25 Dec 11

Nick,

Glad to hear you figured it out.

It has been the holiday season and many people are busy or would rather not spend time responding to forum posts. Just give it time, many other contributors are here but busy right now I would assume.

-MM

Link to this post 26 Dec 11

Alright, thanks.

Link to this post 29 Dec 11

sudo <window_manager>

will give you a new window, with root permissions

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board