LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-24-2005, 03:25 PM   #1
the shady one
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Unhappy Stuck! No permission to copy files??


Hi all

I expect this is really basic so please bear with me! Have installed Mandake 10.1 with KDE and am unable to get online thru linux, so have to reboot to XP every time I need to read the forums for an answer... kind of frustrating!

Trying to learn the basics of Konsole - can at least change dir etc now,

My problem is I'm unable to copy files I need to get my USB ADSL modem running. If I try through the GUI (konquerer) I get 'access denied', you do not have permission or some such. If I then logon as su through the command line and try again in the GUI, get the same message 'access denied'. If I logon as su in konsole does this mean I have root privileges in the graphical environment??? seems not!

Have also tried to copy in konsole, but can't find a copy command??
Have tried cd'ing to the destination dir and pasting, but get 'permission denied', even logged in as root???

If you've got this far thamks for reading!!
Any help appreciated, i'm sure it's really obvious!
cheers
 
Old 08-24-2005, 03:34 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
You should be able to log in as root su or su -
password
cp /this/is/a/file.txt /usr/src/linux
what this does is copy's /this/is/a/file.txt to the /usr/src/linux directory
man cp for more info
also you can move files with mv
again man mv for more info
hang in there it will get easier, just takes a little practice and alot of reading
 
Old 08-24-2005, 03:35 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
if you su in a terminal, you are only root in that terminal for that session. if you type exit or close the terminal, you lose the su privledges. To copy in a terminal, type

cp /<location>/<of>/ <file> /<where>/<you>/<want>/<it>

What are you trying to copy?
 
Old 08-24-2005, 06:24 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Generally you use su (and sudo also but that's slightly different) when you want to run command line programs as a different user. You can often start GUI programs (eg. konqueror) from the command line after you've used su.

However the recommended way to start a GUI program like konqueror as a different user is to click Menu->Run Command, then in the dialog that comes up click options, 'Run as a different user' and put in the username and password, then type the name of the program you want to run (eg. konqueror) for 'Command:'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I got stuck when installing local copy of wikipedia, can you help? Mangar Linux - Software 1 08-23-2005 06:50 AM
Can't copy files from CD to hd. Says i don't have permission? dizzug7068 Linux - Newbie 6 05-12-2005 10:54 PM
how to copy files using C skie_knite007 Programming 8 05-03-2005 02:29 PM
mplayer is stuck with some avi files Yegor Linux - Software 5 10-30-2004 07:17 AM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 05:29 AM


All times are GMT -5. The time now is 06:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration