I am not sure if Android supports the immutable sticky but on files? On Thu, Oct 26, 2023, 8:09 PM John Jason Jordan <[email protected]> wrote:
> On Thu, 26 Oct 2023 19:24:31 -0500 > Bill Barry <[email protected]> dijo: > > >On Thu, Oct 26, 2023 at 7:21 PM Bill Barry <[email protected]> wrote: > > > >> > >> You want them read only, 600 is read/write. Read by world would be > >> good might work better > >> chmod -R 004 * > >Or better chmod -R 0444 * > > I tried man chmod, but it had zero about the numbers, although it had a > link to a web page that was supposed to give examples of usage, but it > turned out to be just a site proclaiming the virtues of gnu. I did > learn that the numbers are called 'octal numbers' and stand for who can > read, write an execute the file. There is evidently a system for how to > assemble the octal number, but it remains a mystery to me. > > After applying 600 to all the files in a folder I did 'ls -la' and > every file had -rw-------. I take it that means that I can read or > write the file, but everyone else gets a dash, so they have to suck > eggs. > > However I gave the command with sudo, so I don't know if the 'rw' > applies to me or to some computer god. They're all .mp3 files, and if I > double-click on one in the file manager it plays, so no worries. > > After applying the 600 I got a popup on my screen 'Writing data to the > drive -- do not unplug.' Right now the popup has remained there for a > couple hours, so my guess is that it's a lie. I'm just going to umount > it and put it in the phone. > > Edit: I'm afraid I lost this play. I had to reinsert the SD card six > times before it finally connected, and when the phone came up it said: > > Unsupported SD card > This device doesn't support this SD > > There was no problem before when it was exFAT. Of course, exFAT can't > do permissions, so Android is free to delete anything on the card. > FAT32 won't help either, but I wonder if Android can read NTFS. >
