[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring proftpd



On Thu, Dec 09, 2004 at 07:08:44AM +0000, Mike wrote:
> I am trying to configure proftpd on my woody box and having no success.
> 
> I want to beable to log in with the account called "upload" an have all 
> premissions. 
> I want all files to be uploaded into the /var/www folder.  I am very 
> confused.
> I followed the documentation and had no luck.  Can somebody lend me a hand?
I try to.

> # Normally, we want files to be overwriteable.
> <Directory /var/www/*>
>  <Limit WRITE>
>        AllowAll
>  </Limit>
>  <Limit DELE>
>        AllowAll
>  </Limit>
>  # Umask 022 is a good standard umask to prevent new files and dirs
>  # (second parm) from being group and world writable.
>  Umask                         022  022
> 
>  AllowOverwrite                on
> </Directory>

You've to add a user name "upload" and set his $HOME to "/var/www". To write
to this directory the user "upload" needs file system write access to this
dir. Proftpd is not able to supersede the permission set on the filesystem.

HTH
Sven
-- 
     COMBO GUANO WEIHNACHTSKONZERT
 Saal Norhausen, Leverkusen-Rheindorf
        23.12.2004 - 19:00Uhr
       http://www.comboguano.de



Reply to: