hey there,
it happens that I need, once in a while, to upload files remotely to a sme-server.
Assuming the safest way requires ssh, I managed to use rsync. So I ran: sudo rsync -avz --chmod=777 -e ssh /localmachine/folder root@XX.XX.XX.XX:/home/e-smith/files/ibays/XXXXXXXXXX
the command seems to work. Anyway once I try to lookup into the sme-server folder, logged in as root via ssh, the files are not there. This is quite strange because if I try to rsync the remote folder to my local machine I can transfer all that files. In other words: the files seems to be only hidden to the root user. How could this be possible?
note: I put chmod=777 to avoid disaster with file permissions. Anyway I also tried a clean version of the command above removing the "chmod" declaration but anything changed.