LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-28-2009, 02:05 PM   #1
speedy6
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Rep: Reputation: 0
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
 
Old 12-29-2009, 06:48 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by speedy6 View Post
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
what kind of permissions on this directory>?
 
Old 12-29-2009, 08:34 AM   #3
speedy6
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by centosboy View Post
what kind of permissions on this directory>?
Non specific... but I tought I'm logged in as root... that use has access everywhere??

THanks
 
Old 12-30-2009, 04:25 AM   #4
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by speedy6 View Post
Non specific... but I tought I'm logged in as root... that use has access everywhere??

THanks

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...
 
Old 12-31-2009, 04:54 AM   #5
speedy6
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Read access to everybody. See screenshot
Attached Images
File Type: jpg screen.JPG (32.1 KB, 10 views)
 
Old 12-31-2009, 05:09 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by speedy6 View Post
Read access to everybody. See screenshot
ok, but what about the test directory??
 
Old 12-31-2009, 05:12 AM   #7
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX
Posts: 565

Rep: Reputation: 57
Could the problem be that the directory is owned by root and not www-data?
 
Old 12-31-2009, 05:44 AM   #8
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by worm5252 View Post
Could the problem be that the directory is owned by root and not www-data?

could be....def a permissions issue somewhere....
 
Old 12-31-2009, 05:57 AM   #9
speedy6
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Same thing for the test folder... same access.
I checked var, and www also read access to the whole group.
 
Old 12-31-2009, 06:19 AM   #10
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by speedy6 View Post
Same thing for the test folder... same access.
I checked var, and www also read access to the whole group.
sorry, but for ftp 550 is more an execute permissions error.
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
 
Old 01-01-2010, 05:00 AM   #11
speedy6
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 10-22-2012, 02:06 PM   #12
johnny_snq
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp 550 failed to change directory? swatward Linux - Software 2 08-25-2010 07:10 PM
repomd.xml [errno:4] 550 failed to change the directory your_shadow03 Linux - Newbie 1 08-11-2009 01:01 AM
vsftp - 550 Failed to change directory mayankh Linux - Server 3 06-24-2008 10:52 PM
FTP : failed to change directory 550 vijit Linux - Networking 2 04-08-2008 03:29 AM
error: stat of /var/log/ppp/connect-errors failed: No such file or directory Niceman2005 Linux - Newbie 0 01-20-2005 12:29 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration