SlrG Posted April 4, 2019 Author Share Posted April 4, 2019 @blade227 I think you need to explain a bit more what exactly you want to do. How many ftp users you have, what directories, they are accessing and what files they should be able to do with their files or directories. Quote Link to comment
blade227 Posted April 6, 2019 Share Posted April 6, 2019 (edited) @SlrG Currently I only have one user (the one I use to remotely FTP to my server). I have given myself full root access however when trying to delete files it is saying permission denied. I want to have full read/write access. Edited April 6, 2019 by blade227 forgot something Quote Link to comment
JaY_III Posted April 7, 2019 Share Posted April 7, 2019 (edited) 9 hours ago, blade227 said: @SlrG Currently I only have one user (the one I use to remotely FTP to my server). I have given myself full root access however when trying to delete files it is saying permission denied. I want to have full read/write access. I wrote a quick blurb before on how I setup shares for FTP users that you may want to check out: Default permissions are deny to the best of my knowledge, so you may have incorrectly set permissions. When you say you have given yourself full root access, are you referring to full Read / Write permissions and not the root of the file system correct? Edited April 7, 2019 by JaY_III Quote Link to comment
SlrG Posted April 8, 2019 Author Share Posted April 8, 2019 @blade227 If you are trying to use ProFTPd to manage the files of the root user which are system files, you will run into problems. ProFTPd is not the right tool for that. Quote Link to comment
eagle470 Posted April 12, 2019 Share Posted April 12, 2019 Hello, I am attempting to use ProFTPd with FileZilla over ssh and I am getting the below errors on the FileZilla side, with nothing on the Unraid side insofar as I can find. Connection timed out after 20 seconds of inactivity Failed to retrieve directory listing Quote Link to comment
SlrG Posted April 12, 2019 Author Share Posted April 12, 2019 How did you configure ProFTPd? It won't allow SSH connections in its default config. Quote Link to comment
Cessquill Posted April 17, 2019 Share Posted April 17, 2019 On 3/27/2019 at 1:01 PM, H2O_King89 said: Un install the one from the App Store. Copy the link>plugins>install plugin tab then paste Got it back up and running using this - thank you. Once I'd re-made the changes to the conf file to get it through my pfsense router I was back in (which fortunately I had a copy of). Thanks for your help. Quote Link to comment
188pilas Posted May 7, 2019 Share Posted May 7, 2019 (edited) Hey - does this plugin work using 6.7.0-rc8 ? I have installed the plugin using the below url. https://raw.githubusercontent.com/SlrG/unRAID/master/Plugins/ProFTPd.plg I also created the user with special text in description and reboot the server. The plugin icon is visible however unable to start the ftp service. Edited May 7, 2019 by 188pilas Quote Link to comment
SlrG Posted May 7, 2019 Author Share Posted May 7, 2019 @188pilas For 6.7.0-rc you need to install the beta version plugin from here: http://sdevel.de/ProFTPd.plg Once 6.7.0 is released, I'll work on a new version of the plugin which should be available as normal update. 1 Quote Link to comment
188pilas Posted May 8, 2019 Share Posted May 8, 2019 Cool thanks. Let me give that a try. Quote Link to comment
Kristijan Posted May 8, 2019 Share Posted May 8, 2019 Hi guys, I am new in Unraid. I use proftpd and works perfectly. Can you tell me how i can give only read permission for specific user? I define home directory in description of user and this user have RW permissons. How i can restart proftpd service via terminal? Quote Link to comment
SlrG Posted May 8, 2019 Author Share Posted May 8, 2019 @Kristijan Please check Jay_III's excellent post on how he sets up his system. He is describing how to make a directory read only, too: To restart proftpd from the command line: /etc/rc.d/rc.ProFTPd restart Quote Link to comment
Kristijan Posted May 9, 2019 Share Posted May 9, 2019 23 hours ago, SlrG said: @Kristijan Please check Jay_III's excellent post on how he sets up his system. He is describing how to make a directory read only, too: To restart proftpd from the command line: /etc/rc.d/rc.ProFTPd restart Tnx, but i dont undrestand. I have this situation. I want try setup FTP acess for two differenet users, one RW permission one only R on same home directory. Quote Link to comment
SlrG Posted May 9, 2019 Author Share Posted May 9, 2019 (edited) @Kristijan JaY_III uses the limit clause to create read only directories. You need to do that, too. But instead of DenyAll you will need to set DenyUser UserName. #File Permissions <Directory /path/to/dir> <Limit WRITE> DenyUser UserName </Limit> </Directory> Check here for more explanations. Edited May 9, 2019 by SlrG 1 Quote Link to comment
Kristijan Posted May 13, 2019 Share Posted May 13, 2019 On 5/9/2019 at 7:42 PM, SlrG said: @Kristijan JaY_III uses the limit clause to create read only directories. You need to do that, too. But instead of DenyAll you will need to set DenyUser UserName. #File Permissions <Directory /path/to/dir> <Limit WRITE> DenyUser UserName </Limit> </Directory> Check here for more explanations. Tnx. This is working. I have one folder which contain 7 subfolder and all users have FTP acess. I want one user only have RW, but other only read. In this situation a must add every directory and DenyUser. My question is, is it possible add RW permission only for one user? but other have automatically denied permission if i didn't define? Quote Link to comment
SlrG Posted May 13, 2019 Author Share Posted May 13, 2019 @Kristijan That would work like this, I think: <Directory /path/to/dir> <Limit WRITE> AllowUser UserName DenyAll </Limit> </Directory> Quote Link to comment
Tuumke Posted May 15, 2019 Share Posted May 15, 2019 Am on 6.7.0. Didnt notice FTP wasnt working since i personally dont use it. Buddy of mine said that his Kodi wasnt working anymore. Had to install the beta and copy over my proftpd.conf modifications. Works fine now. Quote Link to comment
Cessquill Posted May 23, 2019 Share Posted May 23, 2019 46 minutes ago, alael said: since unraid version: 6.7.0 the plug in stopped working completely trying to start the service fail without much logging please advice. Solution is further up this page. Quote Link to comment
Cessquill Posted May 23, 2019 Share Posted May 23, 2019 1 hour ago, alael said: this one you mean or? Yes. If you go back a few more posts there's instructions on how to do it. Quote Link to comment
SlrG Posted May 23, 2019 Author Share Posted May 23, 2019 The new version is now available as official update. Be aware, that it will probably break the compatibility with older unRAID versions. So don't update, if you plan on staying on the old version for now. Quote Link to comment
RoderickBasinB Posted May 25, 2019 Share Posted May 25, 2019 @SlrG: Just wanted to let you know that ProFTPd works perfectly on unRAID 6.7 if installed and updated in the default Plugins menu -> Install Plugin tab. If the app is installed via CA, it doesn't start after installation. Cheers! Quote Link to comment
Squid Posted May 25, 2019 Share Posted May 25, 2019 [mention=16166]SlrG[/mention]: Just wanted to let you know that ProFTPd works perfectly on unRAID 6.7 if installed and updated in the default Plugins menu -> Install Plugin tab. If the app is installed via CA, it doesn't start after installation. Cheers!Assuming that the URL that was set up in the xml template is identical to the URL you manually entered in, then there is no reason for what you describe If the URLs do not match, then@SlrG needs to update the xmlSent via telekinesis Quote Link to comment
SlrG Posted May 25, 2019 Author Share Posted May 25, 2019 @RoderickBasinB Thank you for testing and reporting. But I can't replicate the problem. For me, it works fine with both installation types. I had once a hiccup, where the download of the dependency files from github got broken and the installation failed because of that. But simply trying again worked fine afterwards. If it still doesn't work for you, can you please post the log messages from the installation window? Quote Link to comment
RoderickBasinB Posted May 25, 2019 Share Posted May 25, 2019 (edited) @SlrG Sure! First, I uninstalled the working version of ProFTPd (Note: I didn't reboot the server), and then I installed the one from CA (Installation log below). When I enabled ProFTPd, the plugin didn't start, as described previously by others. Then uninstalled CA's version (didn't reboot the server either), and then I installed as described in my previous post using the link you provided here: On 3/18/2019 at 12:00 PM, SlrG said: @H2O_King89 Well, lets try another way. Please install the modified plugin from here: http://sdevel.de/ProFTPd.plg Does this work? After installing, an update button was present in the settings. Hit that button, updated, and everything worked brilliantly as soon as I enabled ProFTPd. The only difference between the installation logs from the CA method and "traditional" method is the URL in the first three lines: instead of the GitHub URL it shows the one you provided. You'll find attached a file with the Syslog of the whole uninstall - reinstall. plugin: installing: https://github.com/SlrG/unRAID/raw/master/Plugins/ProFTPd.plg plugin: downloading https://github.com/SlrG/unRAID/raw/master/Plugins/ProFTPd.plg plugin: downloading: https://github.com/SlrG/unRAID/raw/master/Plugins/ProFTPd.plg ... done Cleaning up previous install files... Executing selfremoval commands if present... ...Cleanup complete! Downloading any missing plugin files... Latest plugin control files downloading Plugin control files have passed MD5 check Latest plugin dependency files downloading Plugin dependency files have passed MD5 check ...Downloading complete! Running install script for ProFTPd... Installing plugin control files Installing plugin dependency files Detect if MySQL/MariaDB is installed... Move Config Editor archive to plugin dir... +============================================================================== | Installing new package /tmp/ProFTPd-inst/install-B/ProFTPd-x86_64.tgz +============================================================================== Verifying package ProFTPd-x86_64.tgz. Installing package ProFTPd-x86_64.tgz: PACKAGE DESCRIPTION: Executing install script for ProFTPd-x86_64.tgz. Package ProFTPd-x86_64.tgz installed. Disable builtin FTP-Server... Restart inetd to apply change... Starting Internet super-server daemon: /usr/sbin/inetd Disable icon of builtin FTP-Server... Remove example config file... Symlink new config file... ProFTPd is disabled. Please enable before starting. Cleaning up temp files/folders ...Install complete! plugin: installed Updating Support Links ProFTPd --> http://lime-technology.com/forum/index.php?topic=25695.0 Syslog.txt Edited May 25, 2019 by RoderickBasinB Insert syslog file Quote Link to comment
SlrG Posted May 25, 2019 Author Share Posted May 25, 2019 @RoderickBasinB The url for the beta plugin is different, as I didn't wanted it to show as update until 6.7.0 was officially released. The beta plugin looks for updates at the same github url as the normal version or CA. Once I pushed the beta version to github as new official release yesterday, it got made available as update in the plugin settings (no matter if old or beta) and it is now available in CA or for manually installing it from github https://github.com/SlrG/unRAID/raw/master/Plugins/ProFTPd.plg. The beta version link is now obsolete. It provides the now old beta version with old version number, which is essentially the same as the new official version with a new version number. I guess when you tried to install from CA it was before I pushed the beta version to github as new official release and so you got the old version still. I hope this explains what was happening. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.