What I am trying to do is to get quota limit of current system user's home directory, which is btrfs quota-enabled, using the following command:
/usr/sbin/btrfs qgroup show-reF ~/
The above command outputs the following error:
ERROR: can't list qgroups: Operation not permitted
Above command works well for root user. But I wanted to allow users to check the disk usage of their home directory as their is quota limit on users home directory.
I added the user to group of /usr/sbin/btrfs command, but it did not help. can anybody explain the cause of the error? and probably how to resolve it?