The line is: "WARNING: cannot read default subvolume id: Operation not permitted"
That reads to me like there is something wrong with the default subvolume. There is not.
IMO, the only meaningful and correct error message would at least have to include "Permission denied"
Announcement
Collapse
No announcement yet.
Misleading error message if not root. Seems like a bug.
Collapse
This topic is closed.
X
X
-
Misleading error message if not root. Seems like a bug.
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.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.Tags: None
- Top
- Bottom
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: