curlftpfs | A FTP filesystem based on cURL and FUSE | File Utils library
kandi X-RAY | curlftpfs Summary
kandi X-RAY | curlftpfs Summary
A FTP filesystem based on cURL and FUSE
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of curlftpfs
curlftpfs Key Features
curlftpfs Examples and Code Snippets
Community Discussions
Trending Discussions on curlftpfs
QUESTION
I wonder why locate
doesn't file all .exe
files on my system depsite being up to date:
ANSWER
Answered 2020-Oct-30 at 16:16Since your current (home) directory has a file named a.exe
, the shell is expanding *.exe
, and you are effectively running the command
$ locate a.exe
Try it either without the asterisk or with an escaped asterisk
$ locate \*.exe
QUESTION
I'm trying to have full access to my CentOS8 VPS (ie accessing root directory /
) through a mounted cURLFTPFS directory on my local Archlinux system. However no config seems to allow me to mount anything other than the user's home directory (/home/admin
).
I've tried all combinations of:
- Setting the line
DefaultRoot / admin
in/etc/proftpd.conf
- Setting the line
DefaultChdir /
in/etc/proftpd.conf
- Mounting with
curlftpfs vps.example.com mountpoint
- Mounting with
curlftpfs vps.example.com/ mountpoint
- Mounting with
curlftpfs vps.example.com// mountpoint
- Mounting with
curlftpfs vps.example.com:/ mountpoint
- Mounting with
curlftpfs vps.example.com:// mountpoint
Preemptive responses:
- I'm using ProFTPD
- The user I'm connecting with is
admin
- Login details are set in
.netrc
- I'm not using a VirtualHost in the proftpd config file.
- I am not forgetting to
systemctl reload proftpd
Any advice would be highly welcomed.
...ANSWER
Answered 2020-Jul-28 at 11:37I have found the problem and it's as dumb as can reasonably be expected.
By default, ProFTPD locks all users to home directories except for the adm
group. This overrides all other access controls.
All I had to do was change the line DefaultRoot ~ !adm
(which his hidden amongst lines of comments in /etc/proftpd.conf
) to DefaultRoot ~ !adm,!admin
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install curlftpfs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page