From owner-freebsd-www@FreeBSD.ORG Sun Sep 2 16:05:38 2012 Return-Path: Delivered-To: www@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93261106564A; Sun, 2 Sep 2012 16:05:38 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id 5F1278FC0A; Sun, 2 Sep 2012 16:05:38 +0000 (UTC) Received: from glenbarber.us (75.97.141.105.res-cmts.sewb.ptd.net [75.97.141.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id 43F5423F645; Sun, 2 Sep 2012 12:05:35 -0400 (EDT) Date: Sun, 2 Sep 2012 12:05:33 -0400 From: Glen Barber To: www@FreeBSD.org Message-ID: <20120902160512.GE1266@glenbarber.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PW0Eas8rCkcu1VkF" Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: [RFC] WEBGRP/CGIGRP chgrp(1) fix for web build X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 16:05:38 -0000 --PW0Eas8rCkcu1VkF Content-Type: multipart/mixed; boundary="t4apE7yKrX2dGgJC" Content-Disposition: inline --t4apE7yKrX2dGgJC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Currently, the web build sets WEBGRP=www and CGIGRP=www if otherwise not set. The problem is that if $USER is not in the www group and UID != 0, the chgrp(1) call fails. This is a problem for users that do not already know these need to be set if the build is executed as non-root user because the point of failure is too far into the build process. The attached patch sets WEBGRP=$USER and CGIGRP=$USER if the UID is not zero, unless explicitly set by the user. Are there any objections to me committing this change? Thanks in advance. Glen --t4apE7yKrX2dGgJC Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="web.site.mk.diff.UID.txt" Content-Transfer-Encoding: quoted-printable Index: head/share/mk/web.site.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head/share/mk/web.site.mk (revision 39491) +++ head/share/mk/web.site.mk (working copy) @@ -19,12 +19,23 @@ CGIDIR?=3D ${.CURDIR:T} DESTDIR?=3D ${HOME}/public_html =20 +_ID?=3D /usr/bin/id +_UID!=3D ${_ID} -u + WEBOWN?=3D ${USER} +.if (${_UID} > 0) +WEBGRP?=3D ${USER} +.else WEBGRP?=3D www +.endif WEBMODE?=3D 664 =20 CGIOWN?=3D ${USER} +.if (${_UID} > 0) +CGIGRP?=3D ${USER} +.else CGIGRP?=3D www +.endif CGIMODE?=3D 775 =20 BUNZIP2?=3D /usr/bin/bunzip2 --t4apE7yKrX2dGgJC-- --PW0Eas8rCkcu1VkF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJQQ4PNAAoJEFJPDDeguUajbp8H/13UVnCtn0qWl3fnXbdEcBOq mArfqFchIexzKz8ViVf9dR+oQyeYCoAjyzG4yS6kg+AP1rxABZRQxNej5zmQf67E tRLnud3ZNYhJTKkNmW3pDMY5yh3VOI9AMMK+sjKt0nj3MxA3o1SFoVdW7WPAmZQg vo82xkSrpBAejSeVbL8ppyqRZc1bJmhqFXgS0hKN7FxPcNwoaJyDUKa7MFLRjaoN bSa/q6nyIQM/O38ljsoMg5BpzD9iD1L1a5Z0p2tnhQ8CQO9LQvbsFohVD9CZUJfo xd3HXPUeLiq+sxFXuJSSei53+BxCmbiGi6FzEpIMJpVeQHPkgaR5ncNhRz+BkBE= =LDRS -----END PGP SIGNATURE----- --PW0Eas8rCkcu1VkF-- From owner-freebsd-www@FreeBSD.ORG Mon Sep 3 11:10:16 2012 Return-Path: Delivered-To: freebsd-www@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A964C106564A for ; Mon, 3 Sep 2012 11:10:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 90AB68FC0C for ; Mon, 3 Sep 2012 11:10:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q83BAGUu054561 for ; Mon, 3 Sep 2012 11:10:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q83BAEtB054204 for freebsd-www@FreeBSD.org; Mon, 3 Sep 2012 11:10:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2012 11:10:14 GMT Message-Id: <201209031110.q83BAEtB054204@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-www@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-www@FreeBSD.org X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:10:16 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o www/166496 www HP-UX manual pages are mangled o www/161174 www Make http://www.freebsd.org/cgi/search.cgi search GNAT o www/159291 www Error 404 - when I try to send-pr over freebsd.org/es/ s www/157076 www freebsd-wireless mailing list not shown on web All Lis o www/149446 www [patch] improve misleading title of "report a bug" f www/146089 www On www.freebsd.org some IPv6 mirror sites do not work o www/145917 www SVG at logo.html is broken s www/140580 www svnweb file logs are useless s www/129923 www Need stylesheet for FreeBSD Subversion DAV tree s www/111791 www FreeBSD website messes up while using "links" browser s www/103522 www Search interface oddity s www/73551 www [request] fix list archive 'quoted-printable' corrupti s www/51135 www Problems with the mailing-lists search interface 13 problems total. From owner-freebsd-www@FreeBSD.ORG Fri Sep 7 06:17:41 2012 Return-Path: Delivered-To: www@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77DF8106564A for ; Fri, 7 Sep 2012 06:17:41 +0000 (UTC) (envelope-from swan.steven@fabledesign.in) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 45EC08FC15 for ; Fri, 7 Sep 2012 06:17:40 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so3757272pbb.13 for ; Thu, 06 Sep 2012 23:17:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language:x-gm-message-state; bh=hKTbSkotNJIyDQU7AvJ7dw2vfqQdicBPy9C/NPcpirs=; b=AS5SZ+LDILKsljDAvGC63Cu3M6OdT9ZWrI4X2pbrovmYTdtv10+KQPqLW4I5WF0nJF PJ1kggfUzPfn+VssTNY7fnNDwMxh1oGFBnTcsH4RRFJh/8vje6YV5dNRpFy5k6jfzUUn /8HUiN0l2aF6XvpAVtUv6cPT8Yt8XzMGz0RzVmdHdK47cFATBpH15z23wqMtO5y3TGTQ CDpU6ymgGWk3RNNEbXxPivIinyvglQdzAvgvZ8DVZLRYLZ7uQuOKwRkHe8rTzfhNZQpI l1Mm0a0r26+0CZroi4Dfh8AEogtA84KKNXO6Q7VG5kN23CO+/mrZQ2z8nVCibonAGK9z Yj+g== Received: by 10.66.73.9 with SMTP id h9mr7108240pav.76.1346998660349; Thu, 06 Sep 2012 23:17:40 -0700 (PDT) Received: from compaq23188377 ([122.177.11.183]) by mx.google.com with ESMTPS id hr1sm2598593pbc.23.2012.09.06.23.17.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Sep 2012 23:17:39 -0700 (PDT) From: To: Date: Fri, 7 Sep 2012 11:47:07 +0530 Message-ID: <50499183.e1c1440a.266b.fffff1f3@mx.google.com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac2MwGSB0SGQ7TRTTEujVlCGWeyqmQ== Content-Language: en-us X-Gm-Message-State: ALoCoQm08+bnBUqUesOgAjErc9FEKLaDWNuLJK/gjHm2yLD6QtCVs3FrQzEcJ6fVMMEoZ1pWpIiS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re:Web Design & Seo Proposal X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 06:17:41 -0000 Hi, Hope you are doing well. Haven't heard back from you, just wondering if you are interested in our services. I would be happy to share our past work details, methodologies & client testimonials. We have some special offer this session. Sign up now! Kind Regards Swan Steven Email id:- swan.steven@fabledesign.in Business Development Manager _____ From: swan.steven@fabledesign.in [mailto:swan.steven@fabledesign.in] Sent: Thursday, August 30, 2012 10:47 AM To: www@freebsd.org Subject: Web Design & Seo Proposal Hello, Greetings of the day! My name is Swan Steven, and I work as a Business Development Manager at Fable Technologies Pvt. Ltd. I would like to discuss a business opportunity with you. Fable is a Web Design and Development firm based in India, with over 9 years of experience. We have been partnering with various digital agencies over U.S., UK, Australia and Europe. Since your company offers Web Design and Development services to its clients, may I propose a business association between my firm and yours? Our primary focus is around:- Website Design PHP, Asp.net development WordPress, Joomla, Oscommerce Magento, Drupal SEO PPC Link Building Database programming E-Commerce Solutions We can execute Web Design or SEO projects on a white label basis for you at a much lower cost than what it might be in-house! Plus, we have a 3-tier Quality Check system, so there is no compromise on quality! Kindly revert back if you are interested I would be happy to share our Work Portfolio, Client testimonials and Service Packages. I look forward to hearing from you soon! We have some special offer this session. Sign up now! Kind Regards Swan Steven Email id:- swan.steven@fabledesign.in Business Development Manager Disclaimer: The CAN-SPAM Act of 2003 (Controlling the Assault of Non-Solicited Pornography and Marketing Act) establishes requirements for those who send commercial email, spells out penalties for spammers and companies whose products are advertised in spam if they violate the law, and gives consumers the right to ask mailers to stop spamming them. The above mail is in accordance to the Can Spam act of 2003: There are no deceptive subject lines and is a manual process through our efforts on World Wide Web. You can opt out by sending mail to swan.steven@fabledesign.in and we ensure you will not receive any such mails.