Alex Blain-Laider
Posts: 4
Joined: Wed Sep 26, 2018 4:57 pm
Location: Hot Springs, NC

VSFTPD and USBMOUNT

Tue Oct 16, 2018 5:25 pm

Okay, so I was able to find an earlier thread mentioning USBMOUNT to automatically mount USB drives in Stretch Lite. I'm also running VSFTPD to transfer files across my LAN. The problem I'm running into isn't that I'm unable access the mounted USB drive(s) from my FTP client, but instead permissions are denied. I must be missing something within either /etc/vsftpd.conf or /etc/usbmount/usbmount.conf but I'm just not seeing it..

..anyone with a working knowledge of this combination able to shed light on what I'm not seeing?

Alex Blain-Laider
Posts: 4
Joined: Wed Sep 26, 2018 4:57 pm
Location: Hot Springs, NC

Re: VSFTPD and USBMOUNT

Fri Oct 19, 2018 1:36 am

Code: Select all

<bump>

User avatar
DougieLawson
Posts: 34148
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: VSFTPD and USBMOUNT

Fri Oct 19, 2018 5:37 pm

What's the filesystem on your USB device? If it's FAT, VFAT, eXFAT or NTFS then the permissions (and umask) are set on the mount command.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Alex Blain-Laider
Posts: 4
Joined: Wed Sep 26, 2018 4:57 pm
Location: Hot Springs, NC

Re: VSFTPD and USBMOUNT

Sat Oct 20, 2018 11:10 pm

In

Code: Select all

/etc/usbmount/usbmount.conf
I added

Code: Select all

,uid=1000,gid=1000
to the end of the default

Code: Select all

MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime"
string. This gives me permissions.

However I have noticed when I have more than one USB drives plugged in I cannot transfer from one to the other..

Return to “Troubleshooting”