X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 4F3CEDC0AB8 for ; Fri, 23 May 2014 12:49:46 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 86B1BBC1E1B; Fri, 23 May 2014 12:49:45 +0000 (UTC) Date: Fri, 23 May 2014 14:49:41 +0200 From: Natanael Copa To: "Nicolas S. " Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Alpine permission bug with lbu ? Message-ID: <20140523144941.59e217e1@ncopa-desktop.alpinelinux.org> In-Reply-To: <7c6d7d2274f04d3357a0e0cd26126f3c@tropicalsunset.net> References: <7c6d7d2274f04d3357a0e0cd26126f3c@tropicalsunset.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 23 May 2014 14:32:06 +0200 "Nicolas S. " wrote: > Hello Alpine team, > > I'm using the lastest stable 2.7.8 ALpineLinux on embeded hardware (like > soekris). > On only use Alpine in ram and all is commited to a compact flash, like > in a normal router. > I'm a little confused to ask that but it seems i found something which > looks like a bug. > > I installed the bind DNS server package, the perms are in /etc : > > drwxr-x--- 2 root named 620 May 23 2014 bind > > Now for a reason i need to have data sync into that dir i then change > the perms : to 775 mode , and of course lbu commit > > After reboot the perms are again as installed. > I then tried to switch the > owner:group -> same > I tried to force a lbu add /etc/bind -> same problem. > > I believe it can be done with every directory from a package in /etc. I think its apk-tools that "fixes" the permissions on the dirs when it install the files. > > Maybe it is a noob question or not. > Can you help me or is there a workaround ? a quick and dirty workaround: cat >/etc/local.d/bind-permissions.start< > All regards for your great work. > > Nicolas. > > > > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---