Help - Search - Members - Calendar
Full Version: Problems Copying A File
Linuxhelp > Support > Technical Support
iam trying to copy a .tar file from my desktop to the /usr/src directory.when i try to copy the file,it tells me access is denied or something.does anyone have suggestions if i can copy that file over to that directory,and how? thanks
By default, almost all linux distributions restrict normal users access to only their home directory and /tmp . If you want to move or copy a file to any other part of the filesystem like /usr/src , you have to change to the root user. On the command line, type "su" and then enter your root password, this will give you shell access as root, so you can then move or copy your files to wherever you want. When you're finished, be sure to type "exit" or press Ctrl+D to logout of root.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.