Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FTPFS/FTPFSDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ - (id)impliedValueParameterNamed:(NSString*)parameterName otherParameters:(NSDic
if ([parameterName isEqualToString:kMFFSMountPathParameter] && [parameters objectForKey:kNetFSHostParameter]) {
NSString *mountBathBase = [parameters objectForKey:kMFFSNameParameter] ? [parameters objectForKey:kMFFSNameParameter] : [parameters objectForKey:kNetFSHostParameter];

NSString *mountPath = [NSString stringWithFormat:@"/Volumes/%@", mountBathBase];
NSString *mountPath = [NSString stringWithFormat:@"%@/Volumes/%@", NSHomeDirectory(), mountBathBase];
return mountPath;
}

Expand Down
2 changes: 1 addition & 1 deletion SSHFS/SSHFSDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ - (id)impliedValueParameterNamed:(NSString *)parameterName otherParameters:(NSDi
if ([parameterName isEqualToString:kMFFSMountPathParameter] && [parameters objectForKey:kNetFSHostParameter]) {
NSString *mountBathBase = [parameters objectForKey:kMFFSNameParameter] ? [parameters objectForKey:kMFFSNameParameter] :[parameters objectForKey:kNetFSHostParameter];

NSString *mountPath = [NSString stringWithFormat:@"/Volumes/%@", mountBathBase];
NSString *mountPath = [NSString stringWithFormat:@"%@/Volumes/%@", NSHomeDirectory(), mountBathBase];
return mountPath;
}
if ([parameterName isEqualToString:kMFFSVolumeNameParameter] && [parameters objectForKey:kNetFSHostParameter]) {
Expand Down