× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Duo V2 - RAIDiator 5.3.5 - proftpd config problem

llevet
Aspirant

Duo V2 - RAIDiator 5.3.5 - proftpd config problem

Hi,

There is a problem with the configuration of proftpd.

When you have 2 user with the same right in a share (for example : toto and titi in READ ONLY on 'media' ) , only the first user see the share.

So, there is a problem with proftpd .
see : http://www.proftpd.org/docs/howto/Limit.html

This is a known issue, and a proper, thorough solution is being developed. In the meantime, however, there is a workaround for allowing multiple users via the AllowUser directive. Rather than listing the users using a single AllowUser, using a separate AllowUser for each user. For example, instead of:

AllowUser bob,dave,wendy

try using:
AllowUser bob
AllowUser dave
AllowUser wendy





So, the file generate by the nas is (/etc/frontview/proftpd/Shares.conf) :

...
<Directory "/home/ftp/backup">
HideFiles none
<Limit ALL>
Order allow,deny
Deny from all
AllowUser "llevet","toto"
</Limit>
<Limit READ>
Order allow,deny
Deny from all
AllowUser "llevet","toto"
</Limit>
<Limit WRITE>
Deny from all
</Limit>
</Directory>
...

With this config , user toto dont see the share "backup" under ftp.

But when i modify the file by :

...
<Directory "/home/ftp/backup">
HideFiles none
<Limit ALL>
Order allow,deny
Deny from all
AllowUser "llevet"
AllowUser "toto"
</Limit>
<Limit READ>
Order allow,deny
Deny from all
AllowUser "llevet"
AllowUser "toto"
</Limit>
<Limit WRITE>
Deny from all
</Limit>
</Directory>

Then all is good.

This problem occur with USER and GROUP to .
So replace the inline AllowGroup or AllowUser by multi lines like upper in the config file.

Thank to modify the firmware to take care of this problem with proftpd.

Thank's.

Ludo.
Message 1 of 3
Ki_Adi_Mundi
NETGEAR Expert

Re: Duo V2 - RAIDiator 5.3.5 - proftpd config problem

Good proposal ,we will check this.
Message 2 of 3
jonoathome
Aspirant

Re: Duo V2 - RAIDiator 5.3.5 - proftpd config problem

Couldn't get this fix working initially..

I noticed when you restart the ftp service the config file goes back to scratch... the reload function via ssh does the trick

thanks...
Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 1040 views
  • 0 kudos
  • 3 in conversation
Announcements