Changeset 61

Show
Ignore:
Timestamp:
05/28/2008 11:05:49 PM (6 months ago)
Author:
mgorbach
Message:

Give a better warning if we run into key trouble. Also, try to fix FTP readonly problems

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/FTPFS/FTPFSDelegate.m

    r52 r61  
    7474        [arguments addObject: [NSString stringWithFormat: @"-ovolicon=%@",  
    7575                                                   [parameters objectForKey: kMFFSVolumeIconPathParameter]]]; 
    76         // MFLogS(self, @"Arguments are %@", arguments); 
     76        [arguments addObject: [NSString stringWithFormat: @"-odefer_permissions"]]; 
    7777        return [arguments copy]; 
    7878} 
  • trunk/SSHFS/SSHFSDelegate.m

    r57 r61  
    285285        } 
    286286         
     287        if ([output rangeOfString: @"Host key verification failed"].location != NSNotFound) 
     288        { 
     289                return [MFError errorWithErrorCode:kMFErrorCodeMountFaliure 
     290                                                           description:@"Host key verification has failed."]; 
     291        } 
    287292 
    288293        return nil;