From owner-freebsd-questions@FreeBSD.ORG Fri Sep 7 04:51:37 2007 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 C977116A419 for ; Fri, 7 Sep 2007 04:51:37 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBEE13C45A for ; Fri, 7 Sep 2007 04:51:37 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so325346rvb for ; Thu, 06 Sep 2007 21:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=zz+Swgh7DuO9f8LbKNnH1KFkSRA6DRMrwlXS+3Jat9I=; b=UFZeWeGjpIFHc7nsyGLz7sXvaePnMJaZnbA6NmaAD+XdkWVA63C5P91pOc8Ln+1JWBc0e+assmzw+sfr3gifJ0Z+q6JvE7PS00NLqeqGAoi9J2aXXKdRnhZC6kpJBGyKxkROZVlqo+k6ozqvYrtZR7ejW9mWlnJw3I+H6oxzz9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WYlQIqcwdrX3eeu0Fh7lZWD+sDWfHruNpuuFdUnZSBuFdT7WJIBW8AThaiY8uXreWIXJb96p4+ZTUiV47sCGoROW7JhHoW0p3DdQ6gYxMfh5BLFYXjMgBopAEr9Cf6Kb+AjP+4h2w2HIvLmmIW39iTqEkw60VOoPlNYh9bw9+PY= Received: by 10.140.144.4 with SMTP id r4mr564198rvd.1189140680869; Thu, 06 Sep 2007 21:51:20 -0700 (PDT) Received: by 10.141.79.9 with HTTP; Thu, 6 Sep 2007 21:51:20 -0700 (PDT) Message-ID: <94136a2c0709062151k7535c988n9e2ae0decf0d6ca8@mail.gmail.com> Date: Fri, 7 Sep 2007 06:51:20 +0200 From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: wrong permission / files get 640 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: Fri, 07 Sep 2007 04:51:37 -0000 Dear all, A web directory is chmod 755 but all files which I upload into it by default get 640 permission which means web users cannot read it, which means I have to manually change the permissions to 644. Is there any mask I can set on that directory so that files get 644 when uploaded? Directory permissions: drwxr-xr-x 2 slowo slowo 2048 Sep 7 06:31 pdz Thank you in advance! Zbigniew Szalbot