Bug 463455 - micro SD card blocked
Summary: micro SD card blocked
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: 22.04.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 13:24 UTC by Frédéric Hérengt
Modified: 2023-01-21 23:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Hérengt 2022-12-25 13:24:41 UTC
As I'm trying to copy music file to a µSD card for smartphone (Galaxy Note 9, Android 10), the card looks write protected and impossible to receive new files, while it is only 30% occupied
herengt@herengt-N751JK:~$ sudo hdparm -r /dev/mmcblk0p1
[sudo] Mot de passe de herengt : 

/dev/mmcblk0p1:
 readonly      =  1 (on)
herengt@herengt-N751JK:~$ sudo hdparm -r /dev/mmcblk0

/dev/mmcblk0:
 readonly      =  1 (on)
herengt@herengt-N751JK:~$ sudo hdparm -r0 /dev/mmcblk0

/dev/mmcblk0:
 setting readonly to 0 (off)
 readonly      =  1 (on)
herengt@herengt-N751JK:~$  shred -fvz -n 2 /dev/mmcblk0
shred: /dev/mmcblk0 : impossible d’ouvrir en écriture: Opération non permise
herengt@herengt-N751JK:~$ sudo shred -fvz -n 2 /dev/mmcblk0
shred: /dev/mmcblk0 : impossible d’ouvrir en écriture: Système de fichiers accessible en lecture seulement
herengt@herengt-N751JK:~$ sudo shred -fvz -n 2 /dev/mmcblk0
shred: /dev/mmcblk0 : impossible d’ouvrir en écriture: Système de fichiers accessible en lecture seulement
herengt@herengt-N751JK:~$ sudo hdparm -r0 /dev/mmcblk0

/dev/mmcblk0:
 setting readonly to 0 (off)
 readonly      =  1 (on)
herengt@herengt-N751JK:~$ ^C
herengt@herengt-N751JK:~$ 


SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 ninjalj 2023-01-21 23:10:44 UTC
Not related to konsole.  Maybe you can find something at https://superuser.com/search?q=microsd