From owner-freebsd-questions@FreeBSD.ORG Fri May 12 01:38:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 BD86816A400 for ; Fri, 12 May 2006 01:38:57 +0000 (UTC) (envelope-from ryallsd@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5379043D48 for ; Fri, 12 May 2006 01:38:57 +0000 (GMT) (envelope-from ryallsd@gmail.com) Received: by wx-out-0102.google.com with SMTP id r21so242695wxc for ; Thu, 11 May 2006 18:38:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UMSyrCrF245WTJeneKPLG5DqYKsvuyiasYNEJ1Pyx1lQBTzSbmD0Y13ZRh44UUP5Urxreb/m8IN9T8c7cOVrCfGyF0gO23AMJC4aUWgr09Hshl7zVdw2mP2WP3YmU7C/cNp2vuj5A0ZayozBSx8XNwN/Y1NjFtxB8MgtpYcovik= Received: by 10.70.72.1 with SMTP id u1mr2106887wxa; Thu, 11 May 2006 18:38:56 -0700 (PDT) Received: by 10.70.42.4 with HTTP; Thu, 11 May 2006 18:38:56 -0700 (PDT) Message-ID: Date: Thu, 11 May 2006 18:38:56 -0700 From: "Derrick Ryalls" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: New folder 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: Fri, 12 May 2006 01:38:57 -0000 Greetings, I am having issues getting correct permissions set for files in a common area on a web/file server. I have webroot shared out via samba and under there I have an auto-thumbnail generation script that creates thumbnails in somefolder/.cache where somefolder is a newly created folder. Example: autothumbs\ mypics1\ image.jpg .cache image_thumb.jpg mypics2\ .cache ... What needs to happen is when a new folder is created under this autothumb tree, the permissions need to be set correctly so that the .cache folder can be automatically generated by the thumbnail process. I have the main folder listed as root:wheel 777 but when new folders are created they have user:wheel 755 permissions and the thumbnail script fails as it cannot write to the location. Is there something I am missing to get this setup properly? I know a workaround is the manually change the permissions of the folder when it is created, but since my wife will be wanting to add pictures, that isn't an option for her (very non-techy). The machine in question a 5.4-Stable box. Any suggestions on what I need to do? Thanks.