From owner-freebsd-ports@FreeBSD.ORG Wed Jan 29 21:20:13 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 793469EF; Wed, 29 Jan 2014 21:20:13 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4C0981702; Wed, 29 Jan 2014 21:20:13 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id x10so2170914pdj.8 for ; Wed, 29 Jan 2014 13:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lBQ6BPlFOPTAylVACVvNU41UafrUBCJmmBYMk8vzkx0=; b=LKPVv6M1tZPyCb3xAT7NzPCJcz94ke9zDV1W3JHPRzNOMbmYI8LxBTdo0ZwVhGyTVK aPo0tRM4e7LgTMhW2xYmS4fSEjATEDrnMDiu+eNvTdryJ5bR14ZIOVe6OumUDCC9hKq0 FYhJ2IrTnnFoMx6Odp3VtCj++ZimQIKf7PKO+gFGTjG8vvdNA/DsxaSzko6CgHCjOlUI EAEP4vHL3xrMXEFC7+enFHWcLqPFDOulzgeUFiK/ggGNWl2vZ5nE8OLnfF8xdtg+59R1 zvHfy0v9egNJM3yTEsfQ8T57+9csEpid4Ou/jrQdTLvapSkiWQyR4FaRn+Pf1wCm9r7+ 5yPA== MIME-Version: 1.0 X-Received: by 10.69.19.139 with SMTP id gu11mr10427280pbd.149.1391030412921; Wed, 29 Jan 2014 13:20:12 -0800 (PST) Received: by 10.68.155.38 with HTTP; Wed, 29 Jan 2014 13:20:12 -0800 (PST) Date: Wed, 29 Jan 2014 16:20:12 -0500 Message-ID: Subject: best way to add www to wheel From: Aryeh Friedman To: "freebsd-virtualization@freebsd.org" , FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2014 21:20:13 -0000 I have the following line in my pkg-install: pw groupmod wheel -m www The reason is I have files that are created by a user account that also gets made but are modified using it or tomcat... these particular files are shell scripts that must run as root (they are for controlling bhyve and other hyperv's as well as other rootly things like setting up and tarring down nic's).... keep in mind also since almost all user level commands (including those that trigger rootly actions) are run via the web and that the data (except actual web content) should not be owned by www My gut says that the above while it works is almost certainly not the right way to do it. -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org