ProFTPd and proper upload perms

From: Stilgar[bbs.isca.uiowa.edu] (nospam_at_yakhair.com)
Date: 09/07/04


Date: 7 Sep 2004 12:10:45 -0700

I'm trying to setup my first proftpd server.

I want all the accounts to be specific to proftpd - my users with
shell accounts don't need ftp access.

So far, I've been able to create separate ftp user accounts using
AuthUserFile and AuthGroupFile. And I can lock these users into
separate directories which I've created in /home/ftp/ftproot.

My problem is that I want to have an upload directory, but I cannot
get uploads to work unless the (Linux) permissions are set to 777.
This sucks. If /upload is owned by ftp/ftp and proftpd is running as
ftp/ftp why can't I get this working with permissions more restrictive
than 777?

What is the correct way to set up permissions, and owner/group on my
upload dir, or am I stuck with 777? Or is there something else I'm
overlooking?



Relevant Pages

  • permission denied on overwriting files (2003)
    ... For each site I opened an FTP account and an admin ... you can reach to each web site via FTP with their ... FTP accounts, and you can access to their password protected folders ... Even though I gave all the permissions, ...
    (microsoft.public.windows.server.security)
  • Re: FTP Login
    ... I have configured ftp servers in IIS many times and it does not behave ... consistently with regard to ntfs permissions with domain user accounts. ...
    (microsoft.public.windows.server.sbs)
  • Re: permission denied on overwriting files (2003)
    ... you can reach to each web site via FTP with their ... > with their admin accounts. ... Even though I gave all the permissions, ... > ASP page can create a file but cannot overwrite the existing file. ...
    (microsoft.public.windows.server.security)
  • Re: ProFTPd and proper upload perms
    ... > shell accounts don't need ftp access. ... > My problem is that I want to have an upload directory, ... You do need to set the directory perms in proftpd on the upload dir, ...
    (comp.os.linux.misc)
  • proftpd user account and directory access
    ... I have a question about proftpd. ... Now I have accounts with their home directory (i.e. ... directories can get in using ftp client,the others are booted out. ... I have setup my linux server a certain way and need the proftpd server ...
    (comp.os.linux.networking)