Skip to content

Commit

Permalink
Merge pull request #1561 in ITERATE/cyberduck from bugfix/TRAC-10577 …
Browse files Browse the repository at this point in the history
…to master

* commit '4955193f412b57827464b82f0b9162432f146710':
  Disable permission feature when connected to NT.
  • Loading branch information
automerge committed Jan 24, 2019
2 parents 1cc9707 + 4955193 commit 016a871
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ftp/src/main/java/ch/cyberduck/core/ftp/FTPSession.java
Expand Up @@ -278,7 +278,12 @@ public void login(final Proxy proxy, final LoginCallback prompt, final CancelCal
else {
timestamp = new FTPUTIMETimestampFeature(this);
}
permission = new FTPUnixPermissionFeature(this);
if(system.toUpperCase(Locale.ROOT).contains(FTPClientConfig.SYST_NT)) {
permission = null;
}
else {
permission = new FTPUnixPermissionFeature(this);
}
if(client.hasFeature("SITE", "SYMLINK")) {
symlink = new FTPSymlinkFeature(this);
}
Expand Down

0 comments on commit 016a871

Please sign in to comment.