Opened 4 years ago

Last modified 4 years ago

#4611 enhancement new

Support Windows user accounts as the source of home directory information in twisted.protocols.ftp.SystemFTPRealm

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

#2179 introduced (is about to introduce) SystemFTPRealm which consults the system user database to decide where the root of a particular user's FTP access should be.

For various reasons the implementation only supports POSIX. It would be nice to expand it to support Windows as well.

Change History (2)

comment:1 Changed 4 years ago by exarkun

(In [29908]) Merge ftprealm-custompath-2179-2

Author: therve, exarkun
Reviewer: exarkun, screwtape
Fixes: #2179
Fixes: #4494
Refs: #4611

Factor the user home directory selection logic into a helper method of FTPRealm
and move the rest of the realm logic into a new BaseFTPRealm class. Add a new
realm, SystemFTPRealm, which (on POSIX) can select home directories by looking
at the system user database.

comment:2 Changed 4 years ago by <automation>

  • Owner glyph deleted
Note: See TracTickets for help on using tickets.