LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot read file transfered from window to linux via rsync (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-read-file-transfered-from-window-to-linux-via-rsync-742803/)

ufmale 07-25-2009 07:15 PM

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


catkin 07-26-2009 06:03 AM

Hello ufmale :)
Quote:

Originally Posted by ufmale (Post 3620293)
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


All times are GMT -5. The time now is 08:31 PM.