Bug 463455

Summary: micro SD card blocked
Product: [Applications] konsole Reporter: Frédéric Hérengt <fherengt>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ninjalj
Priority: NOR    
Version: 22.04.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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