Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some user-permission changes to btrfs-progs #762

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Commits on Mar 21, 2024

  1. btrfs-progs: receive: make receive fall back on EPERM

    For non-root usage, receive can't write compressed data and will get
    EPERM, but falling back to writing uncompressed data may work and allows
    receive as a normal user, which is safer.
    
    Signed-off-by: Sweet Tea Dorminy <[email protected]>
    sweettea committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    ea2c8e6 View commit details
    Browse the repository at this point in the history
  2. btrfs-progs: subvolume-list: use user ino lookup

    The user ioctl works in all cases, so don't limit subvolume list to root
    by using the root-only ioctl. Subvolume list itself still uses the
    root-only tree search ioctl, but this is a step toward making subvolume
    list user-capable.
    
    Signed-off-by: Sweet Tea Dorminy <[email protected]>
    sweettea committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    0cc8c32 View commit details
    Browse the repository at this point in the history