Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-17-2005, 02:59 PM   #1
LQ Newbie
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
How do I copy this Files

Hi all,

Can anyone please tell me how to copy make an exact copy of this control file?. I did this linux : cp contro01.ctl control03.ctl . I got a message
"cannot open control01.ctl for reading : Permission denied.
When I typed this : ls -l , I got this
-rw-r----- control01.ctl
How do I change the permissions so that I can execute the above command?

I am very new to linux.
Old 04-17-2005, 03:13 PM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to give yourself read permissions, by doing "chmod a+r filename" as root and then copying the file as a normal user.


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
how to copy files using C skie_knite007 Programming 8 05-03-2005 03:29 PM
Copy files dunmarie Linux - Newbie 2 10-29-2003 10:18 AM
can't copy files from cd linuxmad Linux - General 2 08-29-2003 12:34 AM
how to copy and paste between files and within files Bheki Linux - General 1 02-05-2002 06:29 AM
Why can't I copy files? Linux - General 1 05-28-2001 11:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 AM.

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