X-Original-To: alpine-user@mail.alpinelinux.org Delivered-To: alpine-user@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 52578DC00A4 for ; Mon, 21 Dec 2015 08:53:21 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 257AEDC0080 for ; Mon, 21 Dec 2015 08:53:20 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 42640202F3 for ; Mon, 21 Dec 2015 03:53:20 -0500 (EST) Received: from web1 ([10.202.2.211]) by compute5.internal (MEProxy); Mon, 21 Dec 2015 03:53:20 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=webconverger.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=i8w 5Ze0lJEj2ywbeAvo46WJWMeQ=; b=f64+eCF488Ml5XwIe1QxWiuHI8UqjN9bb03 zbbuppvjF0GtU2V37Ny+ZKJojUy+XqoY+BfX2jmFn9fqSiMB7S1WdX4MA1ISar/B FEH6FBEeabWuc491YEa3geRBEf7qzwRezeHgP7z2Q9Ns0NWpQzga1rniomnXUDLi mJbppVj8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=i8w5Ze0lJEj2ywbeAvo46WJWMeQ=; b=cGfDJ /B7WPqLl+zjGxKpf6hRj42nPz7VpFDKz4Fc2qXeL8LuG//I4/dmtYDrOBkU9Mp4E 1nriYjYH8197hSA8pzb7Hs8YZ80mBxI3sFM7silbDmSIiob0If+kLio1fdpeL9Of 6l/CQMnARTVMpxG/PGGrHn78cvbC6sI+2fb69s= Received: by web1.nyi.internal (Postfix, from userid 99) id 11215AEA241; Mon, 21 Dec 2015 03:53:20 -0500 (EST) Message-Id: <1450688000.3674688.472837073.2D2F2894@webmail.messagingengine.com> X-Sasl-Enc: 5sKarRcb8GcLQACGSthq9+7fln1mopylJO9HavE704TN 1450688000 From: Kai Hendry To: alpine-user@lists.alpinelinux.org X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-a93c17cb Subject: [alpine-user] /var/lib/nginx/tmp/fastcgi permission issue Date: Mon, 21 Dec 2015 16:53:20 +0800 X-Virus-Scanned: ClamAV using ClamSMTP I noticed in my Alpine PHP/nginx https://github.com/kaihendry/greptweet/blob/master/Dockerfile requests were getting truncated: https://github.com/kaihendry/greptweet/issues/55 The error log looks like: 2015/12/21 08:36:07 [crit] 14#0: *3888 open() "/var/lib/nginx/tmp/fastcgi/2/03/0000000032" failed (13: Permission denied) while reading upstream, client:... /var/lib/nginx/tmp/fastcgi # ls -alh total 0 drwx------ 1 nginx root 0 Dec 20 10:39 . drwx------ 1 root root 64 Dec 20 10:39 .. /var/lib/nginx/tmp/fastcgi # stat . File: . Size: 0 Blocks: 0 IO Block: 4096 directory Device: c1h/193d Inode: 5898 Links: 1 Access: (0700/drwx------) Uid: ( 100/ nginx) Gid: ( 0/ root) Access: 2015-12-21 08:37:24.000000000 Modify: 2015-12-20 10:39:45.000000000 Change: 2015-12-20 10:39:45.000000000 Only a chmod -R 755 /var/lib/nginx seemed to fix this for me. Do I need to add `RUN chmod -R 755 /var/lib/nginx` to my Docker file, or could this please be fixed? Many thanks! --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---