Like most of the actions gnome-disks can perform on your storage devices TakeOwnership() is also provided by udisks. TakeOwnership() changes the ownership of the filesystem to the user (UID) and group (GID) of the calling user. It is possible to call this method with the recursive mode to change the ownership for all subdirectories and files. The operation is not available on fat and ntfs only for the typical unix filesystems.