Cant write or delete on newly attached drive in KDE-Plasma
- Eadwine Rose
- Administrator
- Posts: 14720
- Joined: Wed Jul 12, 2006 2:10 am
Re: Cant write or delete on newly attached drive in KDE-Plasma
Please click the checkmark of the post that holds the solution to mark the topic solved proper, so people will get guided to the solution, thanks :)
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: Cant write or delete on newly attached drive in KDE-Plasma
First thing I do when setting up a dual boot machine with Windows is to disable Fast Startup. Honestly, with a NVME SSD this setting is totally unnecessary and it is the exact reason for the issue you're experiencing, and I have found a SATA SSD to be much the same, only a little slower. With this setting disabled, it will make no difference if you have 10 folders open when you shutdown or exit, all "open handles" to the folders will be lost as the windows system shuts down, and it's those open handles that are causing you the problems.
On a professionally maintained Windows 10 system, even one that is 3-4 years old, the gains at startup are simply pushed to the opposite end as Windows compresses the contents of the open sessions into a hibernation file on the root of C:, with the only exception being crappy antivirus and/or security packages. I challenge anyone to prove me wrong because compression and writing to storage takes longer than reading and decompressing to RAM.
Follow the steps below in Windows to disable the setting.
1) Settings -> Power and Sleep Settings -> Additional Power Settings -> Chose what the Power buttons do -> Change settings that are currently unavailable -> Uncheck Fast Startup and reboot 2x to allow the cache to clear properly.
Some BIOSs' need to have their implementation of Fast Boot disabled too, but I generally disable that as well while disabling Secure Boot.
Furthermore I see you're using the stock Debian kernel, that is a benefit in your case because for the time being, the Debain kernel loads the ntfs-3g driver, not the Paragon ntfs3 driver, as do most other kernels like the Liquorix and Xanmod. The ntfs3 driver has more features and as such, it can read NTFS permissions, however, because Windows uses a different starting UID value for its user accounts, this will translate to a padlock indicator being displayed in all Windows user profile folders in C:\Users\<username> folders, even after a clean shutdown.
In such an instance, the KDE root actions servicemenu would suffice to give you the R/W permissions you desire, but for the sake of those that might visit this thread in the future who prefer to use the Liquorix or Xanmod kernels and do not wish to always operate as root on Windows filesystems, simply do the following and reboot.
--Edited to remove errors--
On a professionally maintained Windows 10 system, even one that is 3-4 years old, the gains at startup are simply pushed to the opposite end as Windows compresses the contents of the open sessions into a hibernation file on the root of C:, with the only exception being crappy antivirus and/or security packages. I challenge anyone to prove me wrong because compression and writing to storage takes longer than reading and decompressing to RAM.
Follow the steps below in Windows to disable the setting.
1) Settings -> Power and Sleep Settings -> Additional Power Settings -> Chose what the Power buttons do -> Change settings that are currently unavailable -> Uncheck Fast Startup and reboot 2x to allow the cache to clear properly.
Some BIOSs' need to have their implementation of Fast Boot disabled too, but I generally disable that as well while disabling Secure Boot.
Furthermore I see you're using the stock Debian kernel, that is a benefit in your case because for the time being, the Debain kernel loads the ntfs-3g driver, not the Paragon ntfs3 driver, as do most other kernels like the Liquorix and Xanmod. The ntfs3 driver has more features and as such, it can read NTFS permissions, however, because Windows uses a different starting UID value for its user accounts, this will translate to a padlock indicator being displayed in all Windows user profile folders in C:\Users\<username> folders, even after a clean shutdown.
In such an instance, the KDE root actions servicemenu would suffice to give you the R/W permissions you desire, but for the sake of those that might visit this thread in the future who prefer to use the Liquorix or Xanmod kernels and do not wish to always operate as root on Windows filesystems, simply do the following and reboot.
Code: Select all
sudo rmmod ntfs3 && echo blacklist ntfs3 | sudo tee /etc/modprobe.d/blacklist-ntfs3.conf
Mike P
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs
Re: Cant write or delete on newly attached drive in KDE-Plasma
Excellent explanation thanks!
Re: Cant write or delete on newly attached drive in KDE-Plasma
I tested this once. Fast Startup improved startup time by 2 seconds, but shutdown was 10 seconds longer!m_pav wrote: Sun Sep 01, 2024 8:28 pmOn a professionally maintained Windows 10 system, even one that is 3-4 years old, the gains at startup are simply pushed to the opposite end as Windows compresses the contents of the open sessions into a hibernation file on the root of C:,

Windows Fast Startup is snake oil.
- FullScale4Me
- Posts: 1090
- Joined: Fri Jan 08, 2021 11:30 pm
Re: Cant write or delete on newly attached drive in KDE-Plasma
A miss-named feature IMHO. It should be 'Fast Post' as it occurs before any boot-up commences.m_pav wrote: Sun Sep 01, 2024 8:28 pm Some BIOSs' need to have their implementation of Fast Boot disabled too, but I generally disable that as well while disabling Secure Boot.
There have been a few cases in this forum where the WiFi card was not initialized due to this being disabled. Oddly in some of those, it still worked fine in Winblows.
Fast Boot set to 'Enabled', 'Automatic', or 'Thorough' fixed those reported issues.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10
Re: Cant write or delete on newly attached drive in KDE-Plasma
I am facing the same problem but I am not on dual boot with win. I am running Mx 23.3 with KDE and lately my non-system HDDs are mounted read-only. What is strange is that when I check permissions in Dolphin it says "user" and not "root" but in fact I cannot write on them.
The cumbersome workaround is to change permissions in Dolphin, log-out and log-in again. It seems these permissions are changed when I shutdown the system overnight.
The cumbersome workaround is to change permissions in Dolphin, log-out and log-in again. It seems these permissions are changed when I shutdown the system overnight.
MX-19 on Lenovo 520-15IKB
- Eadwine Rose
- Administrator
- Posts: 14720
- Joined: Wed Jul 12, 2006 2:10 am
Re: Cant write or delete on newly attached drive in KDE-Plasma
@grelos Please start your own thread.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
- Kermit the Frog
- Posts: 626
- Joined: Mon Jul 08, 2024 8:52 am
Re: Cant write or delete on newly attached drive in KDE-Plasma
If it's ntfs the permissions / ownership won't be saved. So, when they're unmounted, mount them like this, manually:grelos wrote: Fri Sep 06, 2024 5:25 am... seems these permissions are changed when I shutdown the system overnight...
i.e.
sudo mount /dev/sdc3 -t ntfs-3g -o permissions /media/yourusername/Somedirectory
... "Then" chown :
sudo chown -R yourusername:yourusername /media/yourusername/Somedirectory