lftp mirror: Access failed: 550 /var/www/vhosts/test: No such file or directory
Hi,
I'm trying to setup lftp but it isn't working. I hope someone has expierence with this. I'm logged in as root. When I execute this: lftp -u login,passws-e "mirror --delete --only-newer --verbose /var/www/vhosts/test/ /backupsplesk" www.domain.com I get mirror: Access failed: 550 /var/www/vhosts/test: No such file or directory 1 error detected The folder test certainly exists. What do I wrong? Thanks |
Quote:
|
Quote:
THanks |
Quote:
Well, the error message is pretty much to the point.. /var/www/vhosts/test - i would look at permissions/attributes etc on this folder...or at least list them so we can see that they are correct... |
1 Attachment(s)
Read access to everybody. See screenshot
|
Quote:
|
Could the problem be that the directory is owned by root and not www-data?
|
Quote:
could be....def a permissions issue somewhere.... |
Same thing for the test folder... same access.
I checked var, and www also read access to the whole group. |
Quote:
example - if i wanted to delete a file that had read only access i would get this error. if i wanted to change into a directory that had read only access i would get this error also as it would need execute permissions |
First off all, a happy newyear! :)
Secondly: I gave the folder www full permissions also to others. The problem with modification rights is that I'm not trying to modificy the files localy hwere it gives an error.. Could it be because I'm running it as a php script? |
If anyone is still struggling with this problem the solution is to add a -R in the options for mirror as you are most probably syncing a folder and you need to say so.
|
All times are GMT -5. The time now is 02:56 AM. |