EDIT: I figured out what was going on. I had used the storage drive as a backup when I was setting up the dual boot (just incase windows crapped itslef) and apparently those windows system files were causing errors and Linux was defaulting to read-only as a safety measure.
By removing those files, I was able to get Linux to write to the drive again and the problem is solved!
I had to boot into Win10 to delete them, but I was able to remove them and now Linux has access to the drive and I'm all set!
Just wanted to edit this post and put the solution up top so that people could see it got fixed.
Okay, so I've got a computer with 3 hard drives.
- 1 drive is my Kubuntu boot drive (formatted as EXT4)
- 1 drive is a Win10 drive (formatted as NTFS, FAT32, or EXT4 (depending on the partition))
- 1 drive is a storage drive (formatted as NTFS) that should be accessible by both OS's
I have dual boot set up with GRUB and that isn't giving me any problems.
My issue is this: Kubuntu cannot write to the storage drive. I've triple checked that windows is letting go of it when it shuts down, AND Kubuntu is saying that I have read/write permissions. HOWEVER when I try to actually put a file on that drive, it's a no go. Won't do it. Says I don't have permission.
I've tried sudo chmod ugo+wx [drive location]
and also sudo mount -o remount,rw [drive location]
and it hasn't worked. Or it's worked until I've had to reboot the computer and then it doesn't work anymore
Does anyone have ANY idea what might be going on? I have this large storage drive holding files I'd like to be able to access in Linux and I just.... can't. It's frustrating in the extreme
Drives: physical mounted internal drives. All 3 of them. They're literally screwed into the case. There's no USB connections at all here.
System Info (and yes everything is up to date):
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 16 × Intel® Core™ i9-9880H CPU @ 2.30GHz
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080/PCIe/SSE2
Manufacturer: HP
Product Name: OMEN by HP Laptop 17-cb0xxx
sudo chmod ugo+wx
is a POSIX/Linux tool/method/command and it does not work for windows filesystems so forget about that. Besides mounting it with writable status check the mount point in /etc/fstab and make sure user and group are correct. Those 2 are the most common reasons. The 3rd one is the filesystem: you need a driver for ntfs, and for exfat. Check what filesystem it is withfdisk -l
and check if you have the corresponding driver (mind that you would see an error when mounting so this is likely not the issue) – Rinzwind Mar 20 '23 at 17:28I can mount the drive and open files on the drive, however, despite linux saying it has read/write permissions, it is being treated as read-only.
There isn't an entry for the drive in etc/fstab that I can see? But i also may not be reading the file correctly
– Serenova Mar 20 '23 at 21:12umask
options to000
or0000
, it will give full permissions for everyone and everything, similar tochmod 777
. – mchid Mar 20 '23 at 23:36