Does WinSCP support Linux ACLs?

2

1

A Windows desktop user is using WinSCP client to connect to a Linux server to pick and drop files. The client seems not to recognize the Access Control List (ACL) for this directory. Does WinSCP recognize Linux ACLs, or does it just do regular Linux permissions?

When the user chooses properties of the file or the parent directory on the server (using the WinSCP client) a dialog box appears allowing the user to set the owner and group of the file using a dropdown list. The primary groups show up, but not the group set by a Linux ACL. It seems like WinSCP does not have ACL support.

Ben Francis

Posted 2016-03-13T16:59:23.093

Reputation: 31

1

Googling for "winscp acls" gives https://winscp.net/forum/viewtopic.php?t=11110 as the 1st result.

– ivan_pozdeev – 2016-03-13T17:13:56.490

@ivan Yes, which does not answer the question and leads to another link where Martin mentions the difficulty of testing such a feature without a server to test against, then eight years of no action. I just want a yes or a no for WincSCP version 5.7.2. – Ben Francis – 2016-03-13T18:20:35.123

2This feature request, with a status of "NEW" eight years after creation, suggests "No". – Ben Francis – 2016-03-13T18:25:22.537

Answers

1

WinSCP still does not support the ACLs.
See https://winscp.net/tracker/74


You first need an SFTP server with ACL support.

The ACL is supported by SFTP version 4 and newer only. The most widespread SFTP server, used on an absolute majority of Linux distributions, is the OpenSSH. This server supports SFTP version 3 only and there seems to be no interest on their side to support later versions of the SFTP. The SFTP version 4 proposal is from 2004. The latest SFTP version is 6.

As such, it does not make much sense to support ACLs on a client side. Though there are some Windows SFTP servers that do support ACLs.

It would particularly not help you, as I assume you use the OpenSSH.

Martin Prikryl

Posted 2016-03-13T16:59:23.093

Reputation: 13 764

Thank you, Martin. That's exactly what I needed to know. – Ben Francis – 2016-03-14T19:17:45.410

You are welcome. Though on Super User we thank by accepting the answer.

– Martin Prikryl – 2016-03-14T19:30:40.810