LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I copy this Files (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-copy-this-files-314210/)

Linux2excel 04-17-2005 01:59 PM

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

reddazz 04-17-2005 02:13 PM

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


All times are GMT -5. The time now is 03:41 AM.