i have some files that i need to save in /root/lib/modules/drivers/net in linux, i have the files saved into a folder on my linux desktop, to move the files i need to log in as root, so i log out and log in as root and the files are not there, so i put them on a cd and floppy but root desktop has no mnt/cd or mnt/fd, how can i save these files to the directory i want them, as when i try to do it in my profile (not /root) obviously it says i dont have access,
i do have access to all files but cos i log out as my user and log back in as root i can no longer access my user files eg i cant navigate to them from the home dir, and i cannot see a way of opening a cd or floppy in /root. i like to use the gui to cut and paste files into folders. hope i make sense
Open a terminal, enter "su" (no quotes, of course) to gain root access, and then it's a bit of command line magic, I'm afraid. Type (all on one line, and be careful of the spaces)
mv /home/AolHater/Desktop/folder name/file name /lib/modules/drivers/net
Replace "Aolhater" with your login name, and the folder/file names with whatever's appropriate, of course.
By the way, you do have access to everything in root: when you're logged in to the root desktop, open Konqueror (KDE file manager), click on the blue up arrow at the top left, and you'll be able to drill down through the file tree to your heart's content.
If you want to have full access to your files as a normal user rather than as root, open the K menu, go to Applications > File Tools > File Manager-Super User Mode - enter your root password and you'll have access via Konqueror as above. And yes, you'll be able to drag and drop files from your desktop to wherever you want them.
I'm a masochist - i actually like the command line!
Last paragraph doesn't read too clear (damn these night shifts) - I should have said that if you want full read/write access to your files without going via the root desktop you should use the File Manager Super User Mode. You'll still need to use your root password, of course.
By the way, if you want to open a floppy or CD as root, use the File Manager, click on the up arrow and open "mnt". You'll see icons for your drives there.
This thread is now locked and can not be replied to.