LinuxQuestions.org
Visit Jeremy's Blog.
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 07-25-2009, 07:15 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
Cannot read file transfered from window to linux via rsync


I backup my files from window XP to linux machine
by calling rsync from cygwin.
When I try to access these file on linux, I could not.

Code:
The rsync command I use:

rysnc -avz * root@machine1:/mnt/dr/
I notice that the owner and file permission got screwed up
when viewing on the linux machine.

Code:
drwx------  11 chaq chaq 4096 May 20 16:51 pic
?---------   ? ?      ?         ?            ? RLS.zip
?---------   ? ?      ?         ?            ? Schaums.pdf
drwx------   4 chaq chaq 4096 Mar 24  2008 school
Therefore, I try to use root user to change owner and persmission
using chown, chmod. However, nothing works. I got a in/output error.
Is the problem because of my disk is failed or the file permission problem?

Code:
#chown root RLS.zip
chown: cannot access `RLS.zip': Input/output error
 
Old 07-26-2009, 06:03 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,528
Blog Entries: 27

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hello ufmale
Quote:
Originally Posted by ufmale View Post
Code:
drwx------  11 chaq chaq 4096 May 20 16:51 pic
?---------   ? ?      ?         ?            ? RLS.zip
?---------   ? ?      ?         ?            ? Schaums.pdf
drwx------   4 chaq chaq 4096 Mar 24  2008 school
The "?" is interesting. What's the output from
Code:
file RLS.zip
stat RLS.zip
Best

Charles
 
  


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
Linux folders/things transfered to Microsoft snakeyd3383 Linux - Newbie 3 11-08-2005 07:43 PM
whick window software can read and write the file in linux partition ztdep Linux - Software 9 07-19-2005 10:27 PM
Can rsync read passwords from a file ? vmniza Linux - Networking 1 06-10-2005 01:25 AM
rsync: monitor amount transfered to server hamish Linux - Networking 1 01-13-2005 01:04 PM
linux backed up then transfered only boots from floppy yewdas Linux - Newbie 1 07-26-2004 01:06 PM


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

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