This morning I received this error when trying to delete a subvolume:
If you look carefully, you can see the actual error is I left out "sudo" at the beginning of the command.
I have an alias for "sudo btrfs" so when I'm working with btrfs subvolumes on the command line, I need only type "bt" but I mistakenly typed "btrfs".
This seems bug-ish to me because the error message in no way points to the actual error. It should read:
"btrfs: failed to delete subvolume @Kubuntu2004': Permission denied"
like almost every other program that requires root level access does.
Code:
stuart@office:/subvol$ btrfs su de -c @Kubuntu2004/ WARNING: cannot read default subvolume id: Operation not permitted Delete subvolume (commit): '/subvol/@Kubuntu2004' ERROR: Could not destroy subvolume/snapshot: Operation not permitted WARNING: deletion failed with EPERM, send may be in progress
I have an alias for "sudo btrfs" so when I'm working with btrfs subvolumes on the command line, I need only type "bt" but I mistakenly typed "btrfs".
This seems bug-ish to me because the error message in no way points to the actual error. It should read:
"btrfs: failed to delete subvolume @Kubuntu2004': Permission denied"
like almost every other program that requires root level access does.
Comment