Unable to copy multiple files through scripting. Permissions problem?
File Name:File1.txt
SrcDir =.../system File Permission user group directory File f 0644 root sys etc/eco.conf {SrcDir}/etc/eco1.conf i have 100 file and directory i want to copy the eco1.conf to directory etc with eco.conf name. i have declare as variable in script and taken file1 as input file.when i try with this i got error. Thanks in advance |
Hi there. What error do you get? This sounds like it might be permission based. As which user are you running the script, and what are the permissions on the etc directory?
|
Okay lets try this 1 step at a time.
You have written a script to copy some files. ? Please post the script and the error message you get. |
Hello and welcome to LinuxQuestions,
First of all you should use a descriptive title for your post. Just 'help me' is not drawing any attention to your problem. Aside from that you should provide as much information as possible if you want us to help you. Post your script and the exact error(s) you get when trying to run it. Be as verbose as possible in your problem description. Looking forward to your participation in the forums. Have fun with Linux. Kind regards, Eric |
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.
|
All times are GMT -5. The time now is 03:23 PM. |