Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #154071

Re: Can’t Set File Permissions

From Dave Royal <dave@dave123royal.com>
Newsgroups comp.mobile.android
Subject Re: Can’t Set File Permissions
Date 2026-06-05 16:42 +0000
Organization A noiseless patient Spider
Message-ID <10vuu9s$174jj$1@dont-email.me> (permalink)
References (5 earlier) <10vpe83$2qbi$1@nnrp.usenet.blueworldhosting.com> <10vq8d5$n1g$1@dont-email.me> <u2i7fmx0aq.ln2@Telcontar.valinor> <10vsoi5$ltv2$1@dont-email.me> <fpoafmxbs4.ln2@Telcontar.valinor>

Show all headers | View raw


On Fri, 5 Jun 2026 13:33:35 +0200, Carlos E.R. wrote:

> On 2026-06-04 22:52, Alan Peeling wrote:
>> On 04/06/2026 07:20, Carlos E.R. wrote:
>>> I am able to save most files to a computer, by using MTP protocol in
>>> Linux. Sometimes I had success by using an FTP server on the phone.
>> 
>> Are you able to save /Android/data/, /sdcard/Android, and most
>> subdirectories of /sdcard/Android?
>> 
>> 
> With FTP I have /Android/data/. I don't have an /sdcard/ directory on
> this phone.

/sdcard is a leftover from the early days of Android. For years it's been 
a symlink to /storage/emulated/0, there for backward compatibility- and 
because it was shorter to type.

On this Samsung tablet (Android 13) it's symlinked like this:
/sdcard -> /storage/self/primary
/storage/self/primary -> /storage/emulated/0
(I don't recall seeing '/storage/self' before.)

My Android file manager calls that 'Internal storage' and MTP calls it 
that too.

> With mtpfs I also have "/Android/data/", but I had to run the copy
> several times till no errors were reported.

Did it copy much?

I had a look using Linux (Debian, Thunar, MTP) and ADB shell at 'Internal 
storage/Android/data'. There are directories for lots of apps, most of 
them I think. But not all: some old apps (eg PiaoHong Newsreader, zxing 
barcode scanner) are not present. Many contain visible directories with 
standard names - eg 'files', 'cache' - and subdirectories of those - but 
they are mostly empty. However a few do have data there; for example 
osmand~ has maps and settings and my newspaper reader - based on 
pressreader - holds lots of stuff. I assume it's either developer choice, 
or it depends on the age of the app, whether Android/data is used.

So where does, for example, my email client K9 (com.fsck.k9) hold its 
data, in case I wanted to copy it? In the days when I used to jailbreak my 
devices ISTR it was in /data/data and my guess is that it still is. But I 
don't have permission to read that in ADB shell. 

I tried an adb pull:
adb pull /data/data/com.fsck.k9/*
adb: error: failed to stat remote object '/data/data/com.fsck.k9/*': 
Permission denied

So that directory exists. But might be empty and the data moved elsewhere!

> 
> [snip to end]

-- 
(Remove any numerics from my email address.)

Back to comp.mobile.android | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-02 14:59 +0100
  Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-02 09:30 -0600
    Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-02 16:50 +0100
      Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-02 18:33 -0600
        Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-03 12:59 +0100
          Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-03 08:37 -0600
            Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-03 23:04 +0100
              Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-03 17:37 -0600
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-04 22:02 +0100
              Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-04 08:20 +0200
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-04 21:52 +0100
                Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-05 13:33 +0200
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-05 07:10 -0600
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-05 16:07 +0100
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-05 10:41 -0600
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-05 23:06 +0100
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-05 23:22 +0100
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-05 19:12 -0600
                Re: Can’t Set File Permissions Andy Burns <usenet@andyburns.uk> - 2026-06-06 08:40 +0100
                Re: Can’t Set File Permissions Dave Royal <dave@dave123royal.com> - 2026-06-05 16:42 +0000
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-05 10:54 -0600
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-07 12:46 +0100
                Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-07 14:32 +0200
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-07 09:46 -0600
                Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-07 20:09 +0200
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-07 19:57 +0100
                Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-07 23:09 +0200
                Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-08 00:45 +0100
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-07 23:11 -0600
                Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-08 09:47 +0200
                Re: Can?t Set File Permissions Frank Slootweg <this@ddress.is.invalid> - 2026-06-21 14:33 +0000
                Doing a backup [Was: Can’t Set File Permissions] "Carlos E.R." <robin_listas@es.invalid> - 2026-06-08 13:11 +0200
                Re: Doing a backup Maria Sophia <mariasophia@comprehension.com> - 2026-06-08 10:51 -0600
                Re: Doing a backup "Carlos E.R." <robin_listas@es.invalid> - 2026-06-08 21:19 +0200
                Re: Doing a backup Maria Sophia <mariasophia@comprehension.com> - 2026-06-08 20:40 -0600
                Re: Doing a backup "Carlos E.R." <robin_listas@es.invalid> - 2026-06-09 20:04 +0200
                Re: Doing a backup Maria Sophia <mariasophia@comprehension.com> - 2026-06-09 12:41 -0600
                Re: Doing a backup "Carlos E.R." <robin_listas@es.invalid> - 2026-06-09 22:26 +0200
                Re: Doing a backup Dave Royal <dave@dave123royal.com> - 2026-06-09 21:57 +0100
                Re: Doing a backup [Was: Can’t Set File Permissions] "Carlos E.R." <robin_listas@es.invalid> - 2026-06-08 21:33 +0200
                Re: Can’t Set File Permissions Maria Sophia <mariasophia@comprehension.com> - 2026-06-07 09:27 -0600
                Re: Can?t Set File Permissions Frank Slootweg <this@ddress.is.invalid> - 2026-06-21 14:16 +0000
                Re: Can?t Set File Permissions "Carlos E. R." <robin_listas@es.invalid> - 2026-06-21 19:01 +0200
                Re: Can?t Set File Permissions Frank Slootweg <this@ddress.is.invalid> - 2026-06-22 14:44 +0000
  Re: Can’t Set File Permissions "Carlos E.R." <robin_listas@es.invalid> - 2026-06-02 18:06 +0200
    Re: Can’t Set File Permissions Alan Peeling <Alan@invalid.co.uk> - 2026-06-02 20:01 +0100

csiph-web