[wp-trac] Re: [WordPress Trac] #8331: Automatic Plugin Installer always fails when using SSH

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 11 18:27:48 GMT 2008


#8331: Automatic Plugin Installer always fails when using SSH
-----------------------------+----------------------------------------------
 Reporter:  ydekproductions  |        Owner:  anonymous
     Type:  defect           |       Status:  reopened 
 Priority:  high             |    Milestone:  2.7.1    
Component:  Administration   |      Version:  2.7      
 Severity:  normal           |   Resolution:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by westi):

  * milestone:  2.7 => 2.7.1

Comment:

 Hmm.

 I don't see how that code can ever work correctly.

 The return from ls -lad /dir/filename is never going to be an (int)!

 You are going to get either:
 drwxr-xr-x 6 peter peter 4096 2008-12-11 08:50 /dir/filename
 Or:
 ls: trunky: No such file or directory

 Surely

 I had kind of assumed that this filesystem used actual sftp not ssh2 and
 shell commands :-(

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8331#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list