I have mounted an NTFS partition at /media/storage but I cannot write to it because for some reason it has chosen root to be the owner.
I have tried running
sudo chown -R user:user /media/storage
as well as
sudo chmod 777 /media/storage
but none of them have resulted in any difference in permissions.
Here’s my fstab file
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 / btrfs defaults 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /var btrfs subvol=/@/var 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /usr/local btrfs subvol=/@/usr/local 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /srv btrfs subvol=/@/srv 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /root btrfs subvol=/@/root 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /opt btrfs subvol=/@/opt 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /home btrfs subvol=/@/home 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /boot/grub2/x86_64-efi btrfs subvol=/@/boot/grub2/x86_64-efi 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /boot/grub2/i386-pc btrfs subvol=/@/boot/grub2/i386-pc 0 0
UUID=a8f98f57-e06f-4170-aa1e-93dff66bf9cc swap swap defaults 0 0
UUID=66ea17fa-965a-4e68-9852-70afd2a644a5 /.snapshots btrfs subvol=/@/.snapshots 0 0
UUID=9bf0ee81-bfb3-4186-8fbf-c4c39a5ff188 /home/.wine ext4 data=ordered 0 2
UUID=3C8E47E5341FDBFD /media/storage ntfs fmask=133,dmask=022 0 0
and here’s the result of
ls -l /media/
total 4
drwxr-xr-x 1 root root 4096 Aug 23 02:27 storage
Please help me change the ownership from root to user.
Thank you.