I accidentally deleted my public_html folder. We just moved from an old server so I still have it. I am trying to transfer the folder "public_html" from one server to another and getting errors. Many more permission errors after what I posted. These were working but some files had permission errors so I deleted everything thinking this would solve it. Not it won't transfer anything.
I tried both of these:
rsync -rltzuv /home/user/public_html [email protected]:/home/user
rsync -av /home/user/public_html [email protected]:/home/user
stdin: is not a tty
building file list ... done
public_html/
rsync: failed to set times on "/home/user/public_html": Operation not permitted (1)
public_html/.htaccess
public_html/_vti_inf.html
public_html/favicon.ico
public_html/index.php
public_html/postinfo.html
public_html/robots.txt
public_html/_private/
rsync: recv_generator: mkdir "/home/user/public_html/_private" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
I tried both of these:
rsync -rltzuv /home/user/public_html [email protected]:/home/user
rsync -av /home/user/public_html [email protected]:/home/user
stdin: is not a tty
building file list ... done
public_html/
rsync: failed to set times on "/home/user/public_html": Operation not permitted (1)
public_html/.htaccess
public_html/_vti_inf.html
public_html/favicon.ico
public_html/index.php
public_html/postinfo.html
public_html/robots.txt
public_html/_private/
rsync: recv_generator: mkdir "/home/user/public_html/_private" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***