From owner-freebsd-questions Mon Jan 4 15:32:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22051 for freebsd-questions-outgoing; Mon, 4 Jan 1999 15:32:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from darius.pce.net (darius.pce.net [206.25.234.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22046 for ; Mon, 4 Jan 1999 15:32:08 -0800 (PST) (envelope-from dnh@darius.pce.net) Received: from localhost (dnh@localhost) by darius.pce.net (8.9.1a/8.9.1) with SMTP id SAA06309 for ; Mon, 4 Jan 1999 18:44:45 -0500 (EST) Date: Mon, 4 Jan 1999 18:44:45 -0500 (EST) From: David Hummel To: questions@FreeBSD.ORG Subject: ftpd umask (and man page incomplete ) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm looking for a way to set the umask of specific users during ftp sessions. While looking in the ftpd.c I noticed that there is indeed a command line option for setting umask that isn't mentioned in the man page: case 'u': { long val = 0; val = strtol(optarg, &optarg, 8); if (*optarg != '\0' || val < 0) warnx("bad value for -u"); else defumask = val; break; } Cool, but I'm really looking for a way to set umask on a per user basis. I would imagine that wu-ftp probably has this ability, but I would prefer to stick with the standard daemon. Is there an easy way of doing this with the standard daemon that I'm not aware of? Thanks, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message