Subject: Re: guestgroups, mkdir and upload permissions

From: Keith Smith <[email-masked]>
Date: Fri, 13 Oct 1995 09:42:22 -0400

At 05:33 PM 12/10/95 -0700, Darci Chapman wrote:
>Everything works as expected EXCEPT that directories created with mkdir
>have 755 permision and are owned by the "user" and not by "owner". I
>would really prefer that directories be owned by "owner" and created with
>group write permission...

I have the same wish!!  However theres not much that can be done without
changing code.  The quickest hack I can think of is to change the UMASK define.

Does anyone have the time to implement this feature?

Regards,
Keith.

-------------
Keith Smith                                     [email-masked]
Paradigm Technology Limited                     Senior Software Engineer
P.O. Box 10-268                                 +64 (4) 495-1000 (voice)
Wellington, New Zealand                         +64 (4) 495-1003 (fax)
                   [all required disclaimers apply]

---

From: [email-masked] (Greg King)
Date: Mon, 16 Oct 95 16:18:40 EDT

Try the following instead:

upload  /toplevel      *            no
upload  /toplevel      /dir1        yes     owner    group  0775 dirs
upload  /toplevel      /dir2        yes     owner    group  0664 dirs
 
I experienced a similar problem that seemed to be induced by the trailing
slash and the wildcard.

Greg

> > 
> > # specify the upload directory information
> > upload  /toplevel      *            no
> > upload  /toplevel      /dir1/*      yes     owner    group  0775 dirs
> > upload  /toplevel      /dir2/*      yes     owner    group  0664 dirs
> > 
> Looks like directories are not set to the uid/gid given above -- they are 
> simply created and left unchanged.  The above seems to be only for 
> files.  Sounds like hack time, to me.
> 
> Michael Brennen
> 
>