From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 15:51:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B50C816A4CE for ; Wed, 16 Feb 2005 15:51:07 +0000 (GMT) Received: from vmx55.multikabel.net (vmx55.multikabel.net [212.127.254.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6096443D45 for ; Wed, 16 Feb 2005 15:51:07 +0000 (GMT) (envelope-from koendewijs@gmx.net) Received: from vmx30.multikabel.net ([212.127.254.138]) by vmx55.multikabel.net with esmtp (Exim 4.44) id 1D1RS5-0004Xb-Be for questions@freebsd.org; Wed, 16 Feb 2005 16:50:57 +0100 Received: from [10.10.10.20] (84-107-21-88.dsl.quicknet.nl [84.107.21.88]) by vmx30.multikabel.net (8.12.10/8.12.8) with ESMTP id j1GFovQc024380 for ; Wed, 16 Feb 2005 16:50:57 +0100 Message-ID: <42136BE0.9030103@gmx.net> Date: Wed, 16 Feb 2005 16:50:56 +0100 From: koen de wijs User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MultiKabel-MailScanner-Information: Please contact helpdesk@quicknet.nl for more information X-MultiKabel-MailScanner: Found to be clean X-MultiKabel-MailScanner-SpamCheck: X-MultiKabel-MX-MailScanner-Information: Please contact helpdesk@quicknet.nl for more information X-MultiKabel-MX-MailScanner: Found to be clean X-MultiKabel-MX-MailScanner-SpamCheck: X-MailScanner-From: koendewijs@gmx.net Subject: umask X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 15:51:07 -0000 Hello, I have a question aboout the umask under FreeBSD. I couldn't find what it exactly is. It is something for setting files how you set the 'xrwxrwxrw' I found a file where you could chance it but don't knwo anymore what it was. I want to use this for my ftp-server with FreeBSD. I have a directory 'upload' where all my friends can put there files. They are all members of the group 'ftpusers'. But when they put a file in that directory all the other users from the group 'ftpusers' canchange or delete this file. I want to change it so that the write bit for the group is off when someonse of the ftpusers group writes something in the folder 'upload'. Can I do this with changing the umaks and how do I change that? I couldn't found any information on that. Thanks , Koen