From owner-freebsd-questions@FreeBSD.ORG Tue Apr 21 13:13:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E516E106564A for ; Tue, 21 Apr 2009 13:13:52 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3BF8FC17 for ; Tue, 21 Apr 2009 13:13:52 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by ewy19 with SMTP id 19so2147861ewy.43 for ; Tue, 21 Apr 2009 06:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=lbmddmfTuTqYZmcfHcMIj5cPbB+OQKm/WkBOmidX4os=; b=vn02FvTR7Fh1/+lgnwcjseWVUB6wOE/xq2rQ7jIlA/iiUS/+ZBJTqKepl9bYKfy+bR 3RHpA/6HmMm13J3JIFCfg/nhE1Gfb1A0quANC0B1mwaWxYVL0JmDHPGr8lazaXngFF5/ vo57kJLKBE6pidTSsjb2wnWBQOwE+tTu0byp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=pzmphQUZI2JcZh2QmPhEKd1+Bh2CSQ/tW26RQSWBTiZxIuZVxvWrVcdciSF4tbIjvx +ITwjJg9yQmROMHuXMgsyqEGbIkEaWq+MD514fDGXuRHN5ZwD6C7d2YzgQHx054SJODK wgc/18BAfabjLs7PFzo1OotJlmdtR0WxFIf28= Received: by 10.210.127.13 with SMTP id z13mr4943607ebc.91.1240319631230; Tue, 21 Apr 2009 06:13:51 -0700 (PDT) Received: from ?172.16.16.182? (dsl212102251210.4dsl.de [212.102.251.210]) by mx.google.com with ESMTPS id 23sm2948997eya.41.2009.04.21.06.13.50 (version=SSLv3 cipher=RC4-MD5); Tue, 21 Apr 2009 06:13:50 -0700 (PDT) From: Mister Olli To: Mel Flynn In-Reply-To: <200904211436.02409.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <1F1D939A-3787-4C5A-995B-93EDABF0BE5A@identry.com> <1240305460.11199.2.camel@phoenix.blechhirn.net> <200904211436.02409.mel.flynn+fbsd.questions@mailing.thruhere.net> Content-Type: text/plain Date: Tue, 21 Apr 2009 13:13:47 +0000 Message-Id: <1240319627.11199.25.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Cc: John Almberg , freebsd-questions@freebsd.org Subject: Re: Sorting out owner and group permissions... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Apr 2009 13:13:53 -0000 hi, no does not work, since using SSH / SFTP does not involve starting a shell. so umask settings don't work. Regards, --- Mr. Olli On Di, 2009-04-21 at 14:36 +0200, Mel Flynn wrote: > On Tuesday 21 April 2009 11:17:40 Mister Olli wrote: > > hi, > > > > I have the same problem on some fileservers I do the administration for. > > But in my case the users send the files via SSH to the server. > > > > A solution for this, based on some OS mechanism would be really > > great :-) > > umask(1).