Skip to content

Nodes mounted as root, removal possible as regular user #310

@laur89

Description

@laur89

Hi,
I mounted the phone and got an error:

aft-mtp-mount ./phone/
Device::Find failed:Device is already used by another process

Having assumed the mount failed, I deleted the mountpoint:

rm -rf ./phone/

Turns out the mount had not failed, and data was lost.

How is it possible that rm succeeded? Mounting and traversing the file-tree shows all the directories-files are owned by root, and others have only read access.

Running android-file-transfer 4.2-1 on Debian testing.
Android 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions