user_subvol_rm_allowed should arguably be the default behaviour. The argument about the user being effectively able to delete files owned by other users is valid, but if that other user put the files inside of a subvolume that was created by the user in question, then it's sort of fair game...
In any case, this argument against the option makes very little sense on desktop systems.
There are significantly benefits to enabling this option. It enables a better storage backend in Podkman, for example, which is of particular interest to people on Silverblue.
It also helps the user create (and importantly, efficiently remove) snapshots of subdirectories in their home directory.
I tend to agree. I have a couple questions as it relates to this for SELinux folks, so I asked about it on their list: https://lists.fedoraproject.org/archives/list/selinux@lists.fedoraproject.org/thread/FOSBMTRWMNLWSN7EHZHTP5X2BI6MDCWM/
Metadata Update from @ngompa: - Issue tagged with: Desktop, Dev
If users are allowed to remove their own subvolumes, wouldn't it also make sense to let users easily list the subvolumes they created? btrfs subvol list still requires root.
btrfs subvol list
Can we get an update?
Log in to comment on this ticket.