Problems adding files to ''/'' directory

Asked by David

Hey, I'm trying to put a folder called ''grub4dos-0.4.4 to the ''/'' directory but it says I haven't got the permissions as I am not the owner of the hard drive, I am the only user on the computer and it never hd anyother users, is there a way I can make it know I own my computer and the hard drive to put that folder with the files in there?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

When you run under your normal account, any programs must first gain permission to alter the system, i.e. via your password.

So to gain access to alter your root drive (I'll suggest in a second that this is probably a bad idea) you can run

gksudo nautilus

or if working from a terminal

sudo mv NAMEOFFILE NEWLOCATION

substituting NAMEOFFILE and NEWLOCATION appropriately.

Now, you should almost *never* write directly to / - your system expects certain folders to exist there, and is usually not looking for anything else.

Now, I am not 100% sure what you are trying to do, or why, but grub4dos is usually used on windows systems which do not have a working grub install. Ubuntu comes with grub, and I can't see what you would be doing with grub4dos

Can you help with this problem?

Provide an answer of your own, or ask David for more information if necessary.

To post a message you must log in.