You are not logged in.

#1 2020-05-08 23:16:38

wishmaster
Member
Registered: 2020-05-07
Posts: 34

[SOLVED] Cannot move/copy files to a mounted drive

Hi. I'm new to arch linux.
I mounted a windows 10 drive as root into /mnt directory. The problem is that when I try to copy or move files from arch linux to /mnt I cannot cause the file system is read-only. Even doing it as root.
How can I solve that problem?
Thanks

Last edited by wishmaster (2020-05-08 23:42:32)

Offline

#2 2020-05-08 23:18:32

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: [SOLVED] Cannot move/copy files to a mounted drive

What filesystem was the device you mounted and what was the exact command you used to mount it?
Edit:
Also the outputs of

findmnt /mnt
stat /mnt

Last edited by loqs (2020-05-08 23:23:56)

Offline

#3 2020-05-08 23:28:44

wishmaster
Member
Registered: 2020-05-07
Posts: 34

Re: [SOLVED] Cannot move/copy files to a mounted drive

The filesystem is a windows filesystem (NTFS).

The command I used is $ mount /dev/sda3 /mnt

$ findmnt /mnt
TARGET SOURCE    FSTYPE OPTIONS
/mnt   /dev/sda3 ntfs   ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1
$ stat /mnt
  Fichero: /mnt
  Tamaño: 8192      	Bloques: 16         Bloque E/S: 512    directorio
Dispositivo: 803h/2051d	Nodo-i: 5           Enlaces: 1
Acceso: (0700/drwx------)  Uid: (    0/    root)   Gid: (    0/    root)
      Acceso: 2020-04-30 17:10:41.310410000 -0300
Modificación: 2020-04-30 17:10:41.310410000 -0300
      Cambio: 2020-04-30 17:10:41.310410000 -0300
    Creación: -

Offline

#4 2020-05-08 23:34:35

loqs
Member
Registered: 2014-03-06
Posts: 19,077

Re: [SOLVED] Cannot move/copy files to a mounted drive

NTFS-3G is required for rw mounting of NTFS.

Offline

#5 2020-05-08 23:40:39

wishmaster
Member
Registered: 2020-05-07
Posts: 34

Re: [SOLVED] Cannot move/copy files to a mounted drive

Thanks so much. I was missing that package. Now it works.

Offline

Board footer

Powered by FluxBB