I'm running Kubuntu 20.04 in dualboot with Windows 8.1 and i have a NTFS partition /dev/sda5 mounted at /data. All default Kubuntu applications, like Dolphin file manager, KTorrent etc can read and write to that partition without any problem. But when i installed some applications i noticed that they don't have permissions to read or write to /data.
My fstab line: UUID=3A8A31E98A31A1F5 /data ntfs defaults,umask=007,uid=1000,gid=1000 0 0
youtube-dl can't open file for writing inside /data
Discord file opener doesn't see the data folder, while it's visible in dolphin file manager
List of things that i have tried:
- I heard that Windows sets read-only flag to NTFS partitions before shutting down, so i booted into Windows, disabled Fast Boot and Hibernation and rebooted instead of shutting down. Didn't work.
- Modified permissions using
sudo chmod -r ugo-rw /data
, didn't work - Unmounted /dev/sda5 and remounted it with read and write permissions
sudo umount /dev/sda5
sudo mount -o rw,users,umask=022 /dev/sda5 /data
Didn't work - Modified fstab file to include my uid and gid
UUID=3A8A31E98A31A1F5 /data ntfs defaults,umask=007,uid=1000,gid=1000 0 0
and remounted the partition. Didn't work.
I would appreciate any help!
windows_names
in/etc/fstab
? I am able to download with youtube-dl on a NTFS mounted withdefaults,umask=007,uid=1000,gid=1000
. I found here thatwindows_names
will prevent creation of files with chars that windows doesn't like. – Adriaan Sep 25 '20 at 13:53umask=7000
. What does it do? – Adriaan Sep 25 '20 at 13:56