Hello Sparkers,
it's me. The mystery making user.
When I run the followings under Windows, I found:
WINDOWS ADMINISTRATOR COMMAND LINE:
Microsoft Windows [Version 10.0.18363.418]
(c) 2019 Microsoft Corporation.
C:\Windows\system32>diskpart
Microsoft DiskPart version 10.0.18362.1
Copyright (C) Microsoft Corporation.
On computer: xxx
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online xxx GB 0 B
Disk 1 Online 14 GB 0 B
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> attributes disk clear readonly
Disk attributes cleared successfully.
DISKPART> attributes disk
Current Read-only State : Yes
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
It is interesting, if the diskpart shows disk attributes cleared successfully, how it show the diskpart attributes disk current read-only state: yes. And the USB-Stick has been remained read-only.
When I run some commands under SparkyLinux Nibiru 5.13 Xfce 64-bit as follows, I found:
LINUX:
~$ sudo df -h
[sudo] password:
/dev/sdb 15G 4,0G 11G 28% /media/user/xxx
~$ ls -l /dev/sdb
brw-rw---- 1 root disk 8, 16 jan 4 16:49 /dev/sdb
~$ sudo chmod u=rwx /dev/sdb
~$ ls -l /dev/sdb
brwxrw---- 1 root disk 8, 16 jan 4 16:49 /dev/sdb
~$ sudo chgrp user /dev/sdb
~$ ls -l
drwxr-xr-x 2 user user xxx jan 1 13:43 Desktop
drwxr-xr-x 84 user user xxx jan 4 16:08 Documents
drwxr-xr-x 2 user user xxx dec 31 18:38 Pictures
drwxr-xr-x 22 user user xxx jan 4 16:27 Downloads
drwxr-xr-x 2 user user xxx dec 31 17:44 Public
drwxr-xr-x 2 user user xxx dec 31 17:44 Sablons
drwxr-xr-x 2 user user xxx jan 4 16:31 Videos
drwxr-xr-x 2 user user xxx jan 4 16:47 Music
~$ ls -l /dev/sdb
brwxrw---- 1 root user 8, 16 jan 4 16:49 /dev/sdb
~$ df -h
/dev/sdb 15G 4,0G 11G 28% /media/user/xxx
~$ ls -l /dev/sdb
brwxrw---- 1 root user 8, 16 jan 4 16:49 /dev/sdb
~$ sudo umount /dev/sdb
~$ sudo mkfs.vfat /dev/sdb
mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/sdb: Read-only file system
~$
Although I think, the permissions are in order, the formatting has no result by read-only file system.
And the problem is solved anyway, because of when I run:
~$ sudo lsblk
[sudo] xxx password:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 14,4G 1 disk /media/user/xxx
~$ sudo sudo badblocks -v /dev/sdb
done
Pass completed, 14721408 bad blocks found. (14721408/0/0 errors)
the whole USB-Stick has full of bad blocks. But comparing to the previous status I am satisfied, as previously the USB-Stick was full of sensitive data and in read-only, after the last command running, the whole USB-Stick has been changed from visible, but read-only to invisible. When I forced to show any of the contained items, it shows some Chinese (?) symbols only. They are not being able to open, the USB-Stick is not configurable.
It could be taken a result, as the sensitive data invisible.
My only idea: thanks for the World's largest scrap maker, incl.WaaP.
Happier New Year for you all.