Hello, On 2017/12/11 16:30, ein wrote: > On 12/11/2017 07:38 AM, Misono, Tomohiro wrote: >> - Change the default behavior to allow a user to delete subvolume which is empty > > From sysadmin point of view I think it's worth considering the following > scenario(s): > what if admin wants one persistent snapshot undeletable by the user? > - snapshots created by the root in user work tree should not be deleted > by the user (snapshot owner should be root?), but we may want also > permissions, filesystem ACLs and extend ACLs consistency > - snapshots with chattr +i should be not deleted by the user, even if he > created it. > -- Immutable flag is already supported. So, we can set +i recursively by "sudo chattr -R +i <snapshot>" If Immutable flag is set, it cannot be deleted by even root and it cannot be set/dropped by a normal user. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
