In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to achieve ftp permission settings on pure-ftpd". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to set ftp permissions on pure-ftpd.
Pureftpd is a fast, high-quality, fully functional ftp server, the most important thing is to support the setting of client default coding, this article describes in detail: pure-ftpd to achieve ftp permission settings.
Pure-ftpd official documentation, there is a uploadscript function, that is, after the file is uploaded, it will trigger a custom script.
Just set up CallUploadScript yes in pure-ftpd.conf and run
/ usr/local/sbin/pure-uploadscript-B-r / usr/local/etc/pure-uploadscript.sh.
Where / usr/local/etc/pure-uploadscript.sh is a script written by yourself.
The reference for pure-uploadscript is as follows:
-B-- daemonize
-g-- gid
-h-- help
-r-- run
-u-- uid
You also need to create a file like touch / var/run/pure-ftpd.upload.pipe.
It is important to note that when CallUploadScript yes is used, ftp does not run automatically, and when pure-uploadscript is run, ftp starts to run. The description on the document is:
YOU MUST START PURE-FTPD _ FIRST_ and _ THEN_ START PURE-UPLOADSCRIPT.THE REVERSE ORDER WON'T WORK.
If only the implementation can be uploaded, the download cannot be deleted in the script file.
Chown-R directory
It's almost done.
At this point, I believe you have a deeper understanding of "how to achieve ftp permission settings on pure-ftpd". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.