[Proftpd-user] .in. Files Not Cleaned Up Properly - HiddenStores

"[email protected]" <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi All,

I have pretty much check most recent threads I could find here or in on 
Google about ProFTPd and HiddenStores directive, and the default behavior.

However I have noticed on our FTP server, we have tons of .in.FILENAME 
files hanging around on different user directories, all with 0 KB 
filesize. Also, some of these go back to as old as 2019, throughout 
2020... i.e. they're genuinely not in-progress upload files.

ProFTPd server:

Compile-time Settings:
   Version: 1.3.5e (maint)
   Platform: LINUX [Linux 3.10.0-957.1.3.el7.x86_64 x86_64]
   Built: Wed Jan 31 2018 16:32:29 UTC
   Built With:
     configure  '--build=x86_64-redhat-linux-gnu' 
'--host=x86_64-redhat-linux-gnu' '--program-prefix=' 
'--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/var/lib' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--libexecdir=/usr/libexec/proftpd' 
'--localstatedir=/run/proftpd' '--disable-strip' '--enable-ctrls' 
'--enable-dso' '--enable-facl' '--enable-ipv6' '--enable-memcache' 
'--enable-nls' '--enable-openssl' '--enable-pcre' '--enable-shadow' 
'--enable-tests' '--with-libraries=/usr/lib64/mysql' 
'--with-includes=/usr/include/mysql' 
'--with-modules=mod_readme:mod_auth_pam:mod_tls' 
'--with-shared=mod_sql:mod_sql_passwd:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_radius:mod_quotatab_sql:mod_ldap:mod_ban:mod_wrap:mod_ctrls_admin:mod_facl:mod_load:mod_vroot:mod_radius:mod_ratio:mod_rewrite:mod_site_misc:mod_exec:mod_shaper:mod_geoip:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_copy:mod_deflate:mod_ifversion:mod_qos:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_tls_shmcache:mod_tls_memcache:mod_ifsession' 
'build_alias=x86_64-redhat-linux-gnu' 
'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic' 
'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 
'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic'

   CFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -Wall
   LDFLAGS: -L$(top_srcdir)/lib -Wl,-z,relro 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/mysql 
-L/usr/lib64/mysql -L/usr/lib64
   LIBS: -lacl  -lpcreposix -lpcre -lssl -lcrypto -lssl -lcrypto -lcap  
-lmemcached -lmemcachedutil  -lssl -lcrypto  -lpam -lsupp -lcrypt -ldl

   Files:
     Configuration File:
       /etc/proftpd.conf
     Pid File:
       /run/proftpd/proftpd.pid
     Scoreboard File:
       /run/proftpd/proftpd.scoreboard
     Header Directory:
       /usr/include/proftpd
     Shared Module Directory:
       /usr/libexec/proftpd

   Features:
     - Autoshadow support
     + Controls support
     + curses support
     - Developer support
     + DSO support
     + IPv6 support
     + Largefile support
     - Lastlog support
     + Memcache support
     + ncursesw support
     + NLS support
     + OpenSSL support (FIPS enabled)
     + PCRE support
     + POSIX ACL support
     + Shadow file support
     + Sendfile support
     + Trace support

   Tunable Options:
     PR_TUNABLE_BUFFER_SIZE = 1024
     PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
     PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
     PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
     PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
     PR_TUNABLE_HASH_TABLE_SIZE = 40
     PR_TUNABLE_NEW_POOL_SIZE = 512
     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 = 30
     PR_TUNABLE_TIMEOUTLOGIN = 300
     PR_TUNABLE_TIMEOUTNOXFER = 300
     PR_TUNABLE_TIMEOUTSTALLED = 3600
     PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10



$ sudo cat /etc/proftpd.conf | grep -i DeleteAbortedStores
     DeleteAbortedStores on

$ sudo cat /etc/proftpd.conf | grep -i HiddenStores
     HiddenStores on


Any idea why this is? What's the correct way to handle this? Do we need 
to manually delete these files, and if so, why are they not deleted by 
proftpd? Thanks for any info.

[email protected]

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.