Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ProFTPD Plugin for unRAID v6.8.x

Featured Replies

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 by JaY_III

  • Replies 845
  • Views 241.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @MJA Inc. The second install option from the first post should still work, I think.   @all If anyone want's to pick up my work, you're welcome! It is open source, feel free to use

  • soschronotek
    soschronotek

    genius, this worked perfectly on my new install. this is definitely a bug or something

  • @geonerdist Yes, that is the reason.

Posted Images

  • Author

@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.

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

  • Author

How did you configure ProFTPd? It won't allow SSH connections in its default config.

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.

  • 3 weeks later...

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 by 188pilas

Cool thanks. Let me give that a try.

 

 

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?

  • Author

@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

 

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.

  • Author

@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 by SlrG

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?

  • Author

@Kristijan

That would work like this, I think:

<Directory /path/to/dir>
  <Limit WRITE>
    AllowUser UserName
    DenyAll
  </Limit>
</Directory>

 

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.

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.

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.

  • Author

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.

@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!

[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 xml

Sent via telekinesis

  • Author

@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?

@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 by RoderickBasinB
Insert syslog file

  • Author

@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.

We have a problem with the update of the plugin you did yesterday.


If you were still using the non beta plugin that does not work with 6.7.0,  the update to the 23 May 2019 build will not work.
 

The beta version works great however.

Updating the beta to the 23 May 2019 Build works.  

I have noticed this:

When updating the beta ProFTPd-SlrG-Dependency-1.7_x64.tar.gz rolls down to ProFTPd-SlrG-Dependency-1.5_x64.tar.gz

From my working state, uninstalling the plugin then installing the from here:

https://github.com/SlrG/unRAID/raw/master/Plugins/ProFTPd.plg.

Will not work

The only way I can get the 23 May 2019 build to work is from 1st installing Beta

http://sdevel.de/ProFTPd.plg
Then update the plugin
However the plugin will not survive a reboot and no longer works
Rolling back the update to beta plugin does not work until the system is rebooted
We are then back to using ProFTPd-SlrG-Dependency-1.7_x64.tar.gz
And all is well again

At this time I am required to stay on the 2018.02.05.1 beta build to keep the FTP running.

 

Edited by JaY_III

  • Author

Argh.... Sorry. I found the problem and will fix it asap. Sorry for the inconvenience.

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.