02.11.2017 20:13, Austin S. Hemmelgarn пишет: >> >> 2. I want to limit access to sftp, so there will be no custom commands >> to execute... > A custom version of the 'quota' command would be easy to add in there. > In fact, this is really the only option right now, since setting up sudo > (or doas, or whatever other privilege escalation tool) to allow users to > check usage requires full access to the 'btrfs' command, which in turn > opens you up to people escaping their quotas.
It should be possible to allow only "btrfs qgroup show", at least in sudo. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html