Subject: upload cmd

From: "Christophe DAMOY" <[email-masked]>
Date: Thu, 06 May 1999 14:50:18 +0200

Solaris 5.7
Version wu-2.4.2-VR17(1)

I have a guest user (dircom) in passwd file, dircom is member of ftponly
(guestgroup) and dircom

dircom:x:1001:103::/export/home/ftp/./private/dircom:/etc/ftponly

in ftpaccess , upload entry, what path must I define
for create directories with 770 mode and 660 mode for file.
I try this but it do not work
upload  /export/home/ftp  /private/dircom*     yes    dircom dircom
0770 dirs 3770

files are in 644 mode and directories are in 755 mode

Thank you

--
Christophe Damoy

---

From: Gregory A Lundberg <[email-masked]>
Date: Thu, 6 May 1999 09:18:54 -0400 (EDT)

> files are in 644 mode and directories are in 755 mode

dircom needs to be EXPLICITLY a member of the guestgroup.  In /etc/group
  ftponly::103:dircom

Making a user an implicit member (in /etc/passwd) won't cut it.  Yes,
this sucks.  Yes, it'll be fixed .. someday.

Other than that, I'd suggest reading the caveates at the end of
upload.configuration.HOWTo at ftp://ftp.vr.net/ for comments about
wildcards the way you're using them.

-- 

Gregory A Lundberg              Senior Partner, VRnet Company
1441 Elmdale Drive              [email-masked]
Kettering, OH 45409-1615 USA    1-800-809-2195

---

From: Steve Saul <[email-masked]>
Date: Thu, 06 May 1999 09:23:27 -0500

> dircom needs to be EXPLICITLY a member of the guestgroup.  In /etc/group

Does this only apply under Solaris? Under Linux 2.0.36/wu-ftpd
2.4.2-vr17, I have nominal behaviour with the explicit group member
definition. I do however have the ~ftp/etc/passwd file correctly set up
with relative home directories (and a guest-root command in ftpaccess).

Steve

---

From: Steve Saul <[email-masked]>
Date: Thu, 06 May 1999 09:33:29 -0500

> with relative home directories (and a guest-root command in ftpaccess).

Sorry - major typo. That should read "without the explicit group member
definition".

Steve

---

From: Gregory A Lundberg <[email-masked]>
Date: Thu, 6 May 1999 11:42:47 -0400 (EDT)

On Thu, 6 May 1999, Steve Saul wrote:

> definition. I do however have the ~ftp/etc/passwd file correctly set
> up with relative home directories (and a guest-root command in
> ftpaccess).

Using VR17, if you use guestuser instead of guestgroup you don't need to
have the group membership at all.  guestuser works on the username/uid
rather than group membership.

The guest-root clause simply provides a means of specifying the chroot
point for a selected user or range of users; bypassing and elimnating the
need for the /./ hack in /etc/passwd.

Because of the way the daemon works internally, the ~ftp/etc/passwd file
(where ~ftp means 'the chroot point') needs to be set up correctly.  This
not only effects the initial cwd (when you use guest-root), but the
operation of the ~<username> globbing and the restricted-{uid|gid}
features.

--