[BlueOnyx:08289] Re: Bug in 5107R or feature missing

Michael Stauber mstauber at blueonyx.it
Mon Aug 29 07:09:53 -05 2011


Hi Joachim,

> Is it possible that the new version has a bug or a feature is missing?
> On the old version 5106R if I connect to the ftp-server with a 
> site-admin user
> then the ftp client goes straight to the /web directory of the webspace.
> 
> On the new version it will go to the user directory /.users/136/zmk_web

In /etc/proftpd.conf we usually specify the directory that someone appears in 
through the "DefaultRoot" directive in the "VirtualHost" container of each IP.

That looks like this:

<VirtualHost 192.168.70.53>
    DefaultRoot     / wheel
        DefaultRoot             / admin-users
        DefaultRoot             ~/../../.. site-adm
        DefaultRoot             ~ !site-adm
        AllowOverwrite  on
        DefaultChdir            /web
        DisplayLogin    .ftphelp
</VirtualHost>

Typically the three "DefaultRoot" directives we have here make sure that a 
siteAdmin ends up in the toplevel directory of a Vsite. But if the user is a 
regular user without siteAdmin privileges, he ends up in his personal home 
directory.

And yes: On 5107R this appears to be broken at this time. Regardless if a user 
is siteAdmin or not, he ends up in his home directory upon FTP login.

Sometime last week we spotted an issue with the "site-adm" group creation on 
5107R, which probably plays a role here, too. I'll look into it.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list