"git@gitlab.flux.utah.edu:xcap/xcap-capability-linux.git" did not exist on "4260f7c7516f4c209cf0ca34fda99cc9a0847772"
Sage Weil
authored
Add a mount option user_subvol_rm_allowed that allows users to delete a (potentially non-empty!) subvol when they would otherwise we allowed to do an rmdir(2). We duplicate the may_delete() checks from the core VFS code to implement identical security checks (minus the directory size check). We additionally require that the user has write+exec permission on the subvol root inode. Signed-off-by:Sage Weil <sage@newdream.net> Signed-off-by:
Chris Mason <chris.mason@oracle.com>
Name | Last commit | Last update |
---|