From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [RFC] FUSE permission modell (Was: fuse review bits) Date: Tue, 12 Apr 2005 15:45:29 +0100 Message-ID: <20050412144529.GE10995@mail.shareable.org> References: <3S8oN-So-15@gated-at.bofh.it> <3S8oN-So-17@gated-at.bofh.it> <3S8oN-So-19@gated-at.bofh.it> <3S8oN-So-21@gated-at.bofh.it> <3S8oN-So-23@gated-at.bofh.it> <3S8oN-So-25@gated-at.bofh.it> <3S8oN-So-27@gated-at.bofh.it> <3S8oM-So-7@gated-at.bofh.it> <3SbPN-3T4-19@gated-at.bofh.it> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, hch@infradead.org, akpm@osdl.org, viro@parcelfarce.linux.theplanet.co.uk Return-path: Received: from mail.shareable.org ([81.29.64.88]:15776 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S262427AbVDLOpo (ORCPT ); Tue, 12 Apr 2005 10:45:44 -0400 To: "Bodo Eggert " <7eggert@gmx.de> Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Bodo Eggert wrote: > Jamie Lokier wrote: > > Miklos Szeredi wrote: >=20 > >>=A0=A0=A04)=A0Access=A0should=A0not=A0be=A0further=A0restricted=A0f= or=A0the=A0owner=A0of=A0the > >>=A0=A0=A0=A0=A0=A0mount,=A0even=A0if=A0permission=A0bits,=A0uid=A0o= r=A0gid=A0would=A0suggest > >>=A0=A0=A0=A0=A0=A0otherwise > >=A0 > >=A0Why?=A0=A0Surely=A0you=A0want=A0to=A0prevent=A0writing=A0to=A0fil= es=A0which=A0don't=A0have=A0the > >=A0writable=A0bit=A0set?=A0=A0A=A0filesystem=A0may=A0also=A0create=A0= append-only=A0files=A0- > >=A0and=A0all=A0users=A0including=A0the=A0mount=A0owner=A0should=A0be= =A0bound=A0by=A0that. >=20 > That=A0will=A0depend=A0on=A0the=A0situation.=A0If=A0the=A0user=A0is=A0= mounting=A0a=A0tgz=A0owned > by=A0himself,=A0FUSE=A0should=A0default=A0to=A0being=A0a=A0convenient= =A0hex-editor. If the user wants to edit a read-only file in a tgz owned by himself, why can he not _chmod_ the file and _then_ edit it? That said, I would _usually_ prefer that when I enter a tgz, that I see all component files having the same uid/gid/permissions as the tgz file itself - the same as I'd see if I entered a zip file. -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html