rsync 오류

watchclone@sgssr1 [~]# rsync -avzh public_html/ [email protected]:/home/watchclone/public_html/
[email protected]'s password: 
sending incremental file list
rsync: send_files failed to open "/home/watchclone/public_html/modules/paypal/vendor/paypal/rest-api-sdk-php/sample/images/favicon.ico": Permission denied (13)

sent 1.46M bytes  received 10.32K bytes  140.09K bytes/sec
total size is 2.19G  speedup is 1490.65
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
 

실제 public_html 디렉토리는 약 2.6기가인데, 보낸 건 2.19기가네요.

다시 실행해도 똑같은 에러 메시지가 출력됩니다.

어디가 문제인지 어떻게 알 수 있나요?

  • profile
    퍼미션 때문에 몇몇 파일들이 전송이 안되는거나 폴더가 만들어지지 읺는것 같네요.
    에러 메세지를 먼저 보시고 뭐가 문제인지 확인해보시는게 좋겠습니다.
  • profile profile
    호스팅 계정인데, 이전에 작업했던게 유저 권한이 아닌 디렉토리가 있어서
    해당 파일들은 퍼미션 문제로 rsync 작업이 안되는거 같습니다.
    호스팅 계정이라서 따로 퍼미션 작업을 해봐도 안 먹히는 거 같네요 ㅠ

    그냥 압축해서 복사한 다음, 루트 권한이 있는 서버에서 퍼미션 재조정해서 작업하는 걸로 ㅠ
  • profile
    으아악 공인 아이피가 노출되었습니다!!
  • profile profile
    핑 때리면 알 수 있어서 뭐 ㅋ;