From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 08:49:11 2008 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 AB925106564A for ; Tue, 4 Nov 2008 08:49:11 +0000 (UTC) (envelope-from darwinian.empire@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 7F93B8FC1E for ; Tue, 4 Nov 2008 08:49:11 +0000 (UTC) (envelope-from darwinian.empire@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2892464rvf.43 for ; Tue, 04 Nov 2008 00:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=16E94yviLVUvYIt9dAW1QEO8e32VreyYZAUchpEaGPM=; b=W4qRrs6MRLPPZZ03FZoTGxwD6h5xp4NqItUHR/GtFZoMHJfD/eMJCt01xNRoESkw13 JesldEKCZD4jawC9IYxflv4kpYS4UB5lQUzyR71Vt5R+AnLHXUOMswoLEKD/bsrs5qrj 2D/Hg9MCvrn6Y+9swDh6d+nB9rGSwLDdccRgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=q9Hu9R9yFSqU7OVEpX5cU288fPW5p4SZdn7N71/RxPbM6ArZ9ufEpywpA2PUoQNGHI I0cgH2GUbPJn6lfB3g5D57zM5wEt6XWTCCEKixsGkG47DsUniNA9yxKvDufKD3UmeA7V rZd5wMOuVKrpnwlzUs79OY83vzhrQnMN29Dfk= Received: by 10.141.168.7 with SMTP id v7mr704800rvo.95.1225788550890; Tue, 04 Nov 2008 00:49:10 -0800 (PST) Received: by 10.141.210.2 with HTTP; Tue, 4 Nov 2008 00:49:10 -0800 (PST) Message-ID: Date: Tue, 4 Nov 2008 10:49:10 +0200 From: "Roey D" To: freebsd-questions@freebsd.org In-Reply-To: <894806.41766.qm@web30801.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <894806.41766.qm@web30801.mail.mud.yahoo.com> Subject: Re: Default file permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 08:49:11 -0000 2008/11/4 D=E1nielisz L=E1szl=F3 : > Roey, you can do a chron to chmod the downloaded directory. > Did you mean using cron? I'm not very familiar with that, but as far as I know cron jobs can run at specifc times, not on specifc events. Creating a cron job that runs every 5 minutes for chmod sounds a bit like a waste of CPU, and the effect will occur every 5 minutes, not immidietly when a file is downloaded. umask command seems to do the trick. Thanks. Roey