Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks for files, wrongly shown as folder over ftps #1763

Open
gabberhead opened this issue Dec 20, 2023 · 1 comment
Open

Symlinks for files, wrongly shown as folder over ftps #1763

gabberhead opened this issue Dec 20, 2023 · 1 comment

Comments

@gabberhead
Copy link

gabberhead commented Dec 20, 2023

What I Did

I can create symlinks over ftps on files and folders without problems.

What I Expected/Wanted

I would like to Show symlinks on files, NOT as a folder and i like to can edit the files over the symlink.
The symlinks on folders, are shown correctly.
The same it works over ssh/sftp.

ProFTPD Version and Configuration

Compile-time Settings:
  Version: 1.3.8a (maint)
  Platform: LINUX [Linux 5.10.0-26-amd64 x86_64]
  OS/Release:
    PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
    NAME="Debian GNU/Linux"
    VERSION_ID="11"
    VERSION="11 (bullseye)"
    VERSION_CODENAME=bullseye
    ID=debian
  Built: Mi Dez 20 2023 02:50:08 CET
  Built With:
    configure  '--with-libraries=/usr/local/lib64' '--with-includes=/usr/local/include/openssl' '--enable-openssl' '--with-modules=mod_tls:mod_site_misc'

  CFLAGS: -g2 -O2 -Wall -fno-omit-frame-pointer -fno-strict-aliasing
  LDFLAGS: -Wl,-L$(top_srcdir)/lib,-L$(top_builddir)/lib  -rdynamic -L/usr/local/lib64
  LIBS:  -lssl -lcrypto -lssl -lcrypto  -lpam -lcrypt -ldl  -pthread

  Files:
    Configuration File:
      /usr/local/etc/proftpd.conf
    Pid File:
      /usr/local/var/proftpd.pid
    Scoreboard File:
      /usr/local/var/proftpd.scoreboard

  Info:
    + Max supported UID: 4294967295
    + Max supported GID: 4294967295

  Features:
    - Autoshadow support
    - Controls support
    - curses support
    - Developer support
    - DSO support
    + IPv6 support
    + Largefile support
    - Lastlog support
    - Memcache support
    - ncurses support
    - NLS support
    + OpenSSL support (OpenSSL 3.2.0 23 Nov 2023)
    - PCRE support
    - PCRE2 support
    - POSIX ACL support
    - Redis support
    + Sendfile support
    + Shadow file support
    - Sodium support
    + Trace support
    + xattr support

  Tunable Options:
    PR_TUNABLE_BUFFER_SIZE = 1024
    PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
    PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
    PR_TUNABLE_ENV_MAX = 2048
    PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
    PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
    PR_TUNABLE_HASH_TABLE_SIZE = 40
    PR_TUNABLE_LOGIN_MAX = 256
    PR_TUNABLE_NEW_POOL_SIZE = 512
    PR_TUNABLE_PATH_MAX = 4096
    PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
    PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
    PR_TUNABLE_SELECT_TIMEOUT = 30
    PR_TUNABLE_TIMEOUTIDENT = 10
    PR_TUNABLE_TIMEOUTIDLE = 600
    PR_TUNABLE_TIMEOUTLINGER = 10
    PR_TUNABLE_TIMEOUTLOGIN = 300
    PR_TUNABLE_TIMEOUTNOXFER = 300
    PR_TUNABLE_TIMEOUTSTALLED = 3600
    PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10
ServerName                      "ProFTPD DigitalOcean"
ServerType                      standalone
DefaultServer           on
PidFile                         /run/proftpd.pid
Port                            12331
ServerName                      "ProFTPD"
ServerType                      standalone
DefaultServer           on
PidFile                         /run/proftpd.pid
Port                            12398
UseIPv6                         off
Umask                           022
MaxInstances            20
TimeoutLogin            10
AllowOverwrite          on
FactsAdvertise          off
RootLogin                       on
UseFtpUsers                     off
PassivePorts            55800 60000

<Limit LOGIN>
        AllowUser root gabberhead
        DenyAll
</Limit>

<IfModule mod_tls.c>
TLSEngine                                       on
TLSProtocol                                     TLSv1.3
TLSCipherSuite                          TLSv1.3 TLS_CHACHA20_POLY13
05_SHA256:TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256
TLSOptions       NoSessionReuseRequired AllowDotLogin
TLSECCertificateFile            /usr/local/etc/proftpd/proftpd.crt
TLSECCertificateKeyFile         /usr/local/etc/proftpd/proftpd.key
TLSCACertificateFile            /usr/local/etc/proftpd/proftpd.pem
TLSECDHCurve                            secp384r1
TLSVerifyClient                         optional
TLSRequired                                     on
TLSVerifyDepth                          0
</IfModule>
@Castaglia
Copy link
Member

What FTP/FTPS client are you using? I ask because different FTP clients use different FTP commands for listing files, and for parsing the format of the file listing in order to display things like symlinks or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants