LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-23-2008, 03:32 AM   #1
ashishdange1973
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
Problem for coping files from /var/www/html dirctory


Please help me I have problem of coping all file in the folder /var/www/html at a time. I login as a root user on server it was allow only one directory to copy and not select all and copy-paste. The root has a permission to Read write on /var/www/html and I ma coping it on my pen drive. Please tell me the problem
 
Old 04-23-2008, 10:04 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,633

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
I *THINK* I understand your question, but it's not very clear. Is your pen drive an NTFS file system? If so, you may not have the right things loaded, to allow you to write to an NTFS file system.

Please try to clarify your question, include what version of Linux you're running. Good spelling and grammar wouldn't hurt, either.
 
Old 04-23-2008, 11:46 PM   #3
ashishdange1973
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Re

Sorry for the spelling mistakes.
Actually I want to copy the files and directory from /var/www/html directory on my pen drive. There is no NTFS on partition as I am running RHEL4 web server on it. My problem is that is allow to copy one directory at a time but not all. Is that clear.
 
Old 04-24-2008, 07:40 AM   #4
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Exclamation

Quote:
Originally Posted by ashishdange1973 View Post
Sorry for the spelling mistakes.
Actually I want to copy the files and directory from /var/www/html directory on my pen drive. There is no NTFS on partition as I am running RHEL4 web server on it. My problem is that is allow to copy one directory at a time but not all. Is that clear.
I hope this is not the issue but try:

cp -R /var/www/html <your mounted pen drive>

The -R will copy recursively.

Yawn.
 
  


Reply



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 do I give a user permission to save files to /var/www/html? rotnay6000 Linux - Newbie 10 07-14-2009 08:45 PM
Problem transfering files using SCP to /var/www/html YAOMK Linux - Networking 2 10-14-2006 06:03 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - Newbie 7 09-28-2004 04:18 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - General 2 09-25-2004 01:29 AM
Can't save files to /var/www/html/ Panopticon Linux - Newbie 14 09-12-2003 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:21 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
Open Source Consulting | Domain Registration