how does Pure-ftpd configure multiple users, and user A has the permission to upload and download, and user B only has permission to download?
Google has passed and no solution has been found.
has no one ever encountered this problem?
how does Pure-ftpd configure multiple users, and user A has the permission to upload and download, and user B only has permission to download?
Google has passed and no solution has been found.
has no one ever encountered this problem?
finally solved it on its own.
Pure-ftpd
does not have this feature and needs to cooperate with system users.
create a system user group: groupadd ftpgroup
create a system user (and do not create a user directory under home):
(readable and writable) useradd ftpadmin-g ftpgroup-d / dev/null-s / sbin/nologin
(readable) useradd ftpuser-g ftpgroup-d / dev/null-s / sbin/nologin
create a Pure-ftpd user and specify a directory:
pure-pw useradd admin -u ftpadmin -g ftpadmingroup -d /data/ftpserver
pure-pw useradd user -u ftpuser -g ftpadmingroup -d /data/ftpserver
modify the FTP folder directory
chmod 755 / data/ftpserver
remember, finally must refresh the database: pure-pw mkdb
demand: one of the machines in the online cluster deploys the ftp server, and other machines schedule get data every day through the ftp client. Because there are many services running on the cluster, it is necessary to limit the speed of ftp in order n...
the backend has many logs or files distributed on hundreds of servers. You want to use flask to build a service and request to input information such as ip, path and file name of the backend service, and use the service provided by flask to obtain the ba...
centos 7 vsftp sets passive mode and enables relevant port mapping, but still cannot use passive mode pasv_enable=YES pasv_min_port=30000 pasv_max_port=30010 when using a client like fileZilla, the status disconnects when it reaches PASV what ...
I set up a vsftpd in centos6 to set up a virtual user list. The last virtual user is always unable to log in. that is, to create three accounts, only two can log in, and only the first three can log in when creating four. Have you ever encountered thi...
< H2 > problem description < H2 > build a ftp server with Aliyun. The operating system is centos7; , which can be accessed normally by using tools such as browser and flashfxp, but an error will be reported when using folder access, as shown in the fi...
create locally through docker pure-ftp, FileZilla can connect, upload and download files; in php, you can connect ftp, and create directories, but you cannot upload or download files, and there is no error, except that the permissions of the returned fa...
an error: Failed to establish connection. was reported when downloading a file from a ftp server using the retrieveFile method of the FTPClient class under the commons-net package Excuse me, why? I can access it through File Explorer or a browser. t...
every time you go up and down, you have to find a specific directory locally, and the same is true on the server side, so it s too troublesome to maintain the website. Is there a way to select a file locally or on the server, drag it to the other end, a...
the files given by the customer will be placed on ftp according to a certain format, and then I need to access them according to the rules and store them locally, and then put them on my server. I am generating url to return to ios+ Android model article...
check that I currently have a user aaa who can log in to ftp (using sftp) but when I want to log in using root, he won t let me log in how to implement it can also use root to log in to ftp? because some path files cannot be edited, because they are ...
Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service " and "journalctl-xe " for details. this is my configuration anonymous_enable=YES local_enable=YES write_enable=YES local_um...
use the ftp package in Node.js to upload and download files. Referring to the demo, given on github, you can now download files from ftp servers locally. The code is as follows: var tool = require( .. utils tool ); router.get( download , function ...
the system Ubuntu16, successfully connected to the Tencent Cloud host using the ftp command, the pwd command was available, but the ls,dir connection timed out. As shown in the picture. Tencent Cloud mainframe iptables I turned off directly, all the...
as shown in the picture, it is said that there is a problem with the firewall on the Internet, and both the local and server firewalls are on, just the same. ...
Hello, everyone. I have a server, (linux), which was going to test the php operation ftp, but has been unable to connect, as follows: <? error_reporting(E_ALL); $host = "XXX"; $user = XXX ; $pwd = XXX ; $port = 2121;...
the remote linux system has large files that need to be retrieved locally. used lrzsz s sz command and sftp s get command. Do not know how to break point to resume transmission, every time the shutdown will continue to overwrite the previous or retran...
use commons-net-3.6.jar for FTP connection, The connection is successful, also switch to the target directory, and then print it through ftp.listFiles (); with a length of only 1 strong getName (), but it is . accessed through the browser, ther...
problem description normal connection, can operate, occasionally occur this problem? so far, I haven t found out what s going on, even if it s changed to active PORT. 227 Entering Passive Mode (xxx,xxx,xxx,xx,156,81) I want to know what the wh...
mainly use SFTP to upload this file. Whether it is cut at the front end or cut at the back end of php. It has not been uploaded into slices before. I hope you can give us some ideas and ask for help ....
vue-cli generated projects, npm run build are packaged and uploaded to the server using the ftp tool. There are often dozens of kb and hundreds of kb content that cannot be uploaded. Both Transmit and filezilla currently in use have this problem. (t...