From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from len.romanrm.net ([195.154.117.182]:56284 "EHLO len.romanrm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbdC0Tx6 (ORCPT ); Mon, 27 Mar 2017 15:53:58 -0400 Date: Tue, 28 Mar 2017 00:53:58 +0500 From: Roman Mamedov To: Chris Murphy Cc: "Austin S. Hemmelgarn" , Moritz Sichert , Qu Wenruo , Andrei Borzenkov , Btrfs BTRFS Subject: Re: Qgroups are not applied when snapshotting a subvol? Message-ID: <20170328005358.5d5366ef@natsu> In-Reply-To: References: <4428fdc3-157a-a98e-8ca3-e3701c6c1c80@sichert.me> <279513f7-5297-cf2f-aa94-35bef1f674aa@cn.fujitsu.com> <2e816c46-7a6a-7db9-a2c3-663dc7d8e6c9@gmail.com> <8c55c034-27cc-e8b5-5317-b388cc6492f4@cn.fujitsu.com> <6e464739-5540-87ab-a46d-954a06086cba@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-btrfs-owner@vger.kernel.org List-ID: On Mon, 27 Mar 2017 13:32:47 -0600 Chris Murphy wrote: > How about if qgroups are enabled, then non-root user is prevented from > creating new subvolumes? That sounds like, if you turn your headlights on in a car, then in-vehicle air conditioner randomly stops working. :) Two things only vaguely related from the end user's point of view. > Or is there a way for a new nested subvolume to be included in its > parent's quota, rather than the new subvolume having a whole new quota > limit? Either that, or a separate "allow non-root user subvolumes/snapshots creation" mount option. There is already one for deletion, after all. user_subvol_rm_allowed Allow subvolumes to be deleted by a non-root user. Use with caution. -- With respect, Roman