LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-17-2005, 02:59 PM   #1
Linux2excel
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.
Thanks
 
Old 04-17-2005, 03:13 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

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


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
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? rdaves@earthlink.net Linux - General 1 05-28-2001 11:27 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration