Re: [RFC PATCH v3 0/7] btrfs-progs: Allow normal user to call "subvolume list/show"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 28, 2018 at 09:45:02AM -0400, Zygo Blaxell wrote:
> On Mon, Mar 19, 2018 at 04:30:17PM +0900, Misono, Tomohiro wrote:
> > This is a part of RFC I sent last December[1] whose aim is to improve normal users' usability.
> > The remaining works of RFC are: 
> >   - Allow "sub delete" for empty subvolume
> 
> I don't mean to scope creep on you, but I have a couple of wishes related
> to this topic:
> 
>   - allow "rmdir" to remove an empty subvolume, i.e. when a subvolume is

Ignore me... I just noticed your patch to do exactly this.  ;)

>     detected in rmdir, try switching to subvol delete before returning
>     an error.  This lets admin tools that are not btrfs-aware do 'rm
>     -fr' on a user directory when it contains a subvolume.  Legacy admin
>     tools (or legacy tools in general) can't remove a subvol, and there
>     is no solution for environments where we can't just fire users who
>     create them.
> 
>   - mount option to restrict "sub create" and "sub snapshot" to root only.
>     If we get "rmdir" working then this is significantly less important.
> 
> >   - Allow "qgroup show" to check quota limit
> > 
> > [1] https://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg70991.html
> 


Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux