Subject: Re: Here's one for the PRO's

From: Darci Chapman <[email-masked]>
Date: Fri, 26 Jan 1996 12:33:03 +0000

The below is a bug with wu-ftpd 2.4 -- I reported it to the list about
three months ago. We hacked the source code to do the right thing, where the
'right thing' was defined as used the same kind of permissions for creating
directories that are specified for creating files (ie group write or not, etc).

Cheers,
...dlc...

At 03:14 PM 1/26/96 EST, Jeffrey Smith <[email-masked]> wrote:

>Ok this one is over my head.  And for the guru's of wu-ftpd.
>
>I want local to my domain read & write.
>
>I want remote to my domain read only.
>
>------------------------------------------------------------------
>ftpaccess:
>
>class   local   anonymous 137.118.*.*
>class   remote  anonymous *
>
>
>autogroup anon local
>
>upload  /users/ftp  /pub       yes     admin    anon  0664 dirs
>upload  /users/ftp  /pub/*     yes     admin    anon  0664 dirs
>upload  /users/ftp  /bin          no
>upload  /users/ftp  /etc          no
>
>-------------------------------------------------------------------
>
>Dir listing:
>
>rwxrwxr_x  admin anon    /users/ftp/pub
>
>
>
>Ok,  so as it is set up,  it works for the root (/users/ftp) directory.
>
>But....  When a local user makes a directory,  the new dir gets
>a 775 (ftp.anon) permissions.  ( rwxrwxr_x  ftp anon /users/ftp/pub/newdir )
>
>This means the the remote user (ftp.other) can write to this
>new directory (/users/ftp/pub/newdir).
>
>What I need is for the directory to be created with a 575 chmod.
>So that ONLY members of the anon group (local ftp users) can write
>to it.  ( r_xrwxr_x ftp anon /users/ftp/pub/newdir )
>
>
>There must be an easier way.  Or something that I am missing altogether.
>I would have thought that the upload section of ftpaccess would also
>affect new directories,  but NOOOOOOOOO.
>
>Any advice would be greatly appreciated.
>
>Thanks,
>
>Jeffrey
>[email-masked]
>

---

From: Jeffrey Smith <[email-masked]>
Date: Mon, 29 Jan 96 10:05:13 EST

Would you be so kind as to mail the ftpd.c code you 
hacked?

Thanks,

Jeffrey

--

---

From: [email-masked] (Koos van den Hout _U nix and we all_)
Date: Mon, 29 Jan 1996 16:44:39 +0100 (MET)

> > directories that are specified for creating files (ie group write or not, etc).

Even better, mail it to [email-masked] so the current maintainer
of the patches can incorporate it into the next version so everybody can
have the improved version (share and enjoy principle).

[ If this hasn't been done already ]

                                               Grtx. KH

-- 
  **  FAQ on current wu-ftpd at http://www.hvu.nl/~koos/wu-ftpd-faq.html  **
  Koos van den Hout,           Internetter, Unix freak and BBS SysOp at large
  [email-masked] (Home)        BBS Koos z'n Doos (+31-30-6036637 28k8)
  [email-masked] (Work)  <-- finger -l for PGPkey    (+31-30-6056619 14k4)
  http://www.hvu.nl/~koos (WWW)    Looking for a license plate with "RFC 822"
  We are root. You will be assimilated. Resistance is futile. Clickety Click