Score:2

How to set external USB disk as vsftp local_root directory on Ubuntu?

be flag

Here is a tutorial I followed and succeeded, but my laptop only has 64GB left, so I want to set the FTP default root directory to my external USB disk。

This USB external storage device is a USB flash drive or mechanical hard drive in ext4 format.

lsblk
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   100M  0 part /boot/efi
├─sda2   8:2    0    16M  0 part
├─sda3   8:3    0  62.5G  0 part
├─sda4   8:4    0   509M  0 part
└─sda5   8:5    0  56.1G  0 part /var/snap/firefox/common/host-hunspell
                                 /
sdc      8:32   1 119.3G  0 disk /media/yuhang/Sandisk

The /dev/sdc is my disk, and mount to /media/yuhang/Sandisk,what's wrong happen is I can set local_root=/media/yuhang in /etc/vsftp.conf file but failed to set local_root=/media/yuhang/Sandisk.

I can see below error in Windows FileZilla client interface

Error:  GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.
Error:  Could not read from socket: ECONNABORTED - Connection aborted
Error:  Could not connect to server
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.