You are not logged in.
Hi there,
I'm trying to write to a usb drive but I can't write to it even as root with the drive mounted rw. I've tried many incantations of mount, here is one that should leave everything wide open for writing:
[root@lenovo Downloads]# mount -t ntfs -orw,fmask=0,umask=0,uid=0,gid=0 /dev/sdc1 /mnt
[root@lenovo Downloads]# ls -ld /mnt
drwxrwxrwx 1 root root 28672 May 20 03:08 /mnt
[root@lenovo Downloads]# >/mnt/x
bash: /mnt/x: Permission denied
[root@lenovo Downloads]# mount|grep sdc
/dev/sdc1 on /mnt type ntfs (rw,relatime,uid=0,gid=0,umask=00,nls=utf8,errors=continue,mft_zone_multiplier=1)
[root@lenovo Downloads]#
Here is my fstab:
LABEL=arch_root / ext4 rw,relatime,data=ordered 0 1
LABEL=arch_home /home ext4 rw,relatime,data=ordered 0 2
LABEL=dropbox_part /home/user/Dropbox ext2 rw,relatime,user 0 3
LABEL=shared_partition /home/user/a ext2 rw,relatime,user 0 4
output of uname -a:
Linux lenovo 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux
Thanks
Last edited by lepubel (2014-05-20 21:04:38)
Offline
Do you have ntfs-3g installed?
https://wiki.archlinux.org/index.php/Ntfs
I don't think it has anything to do with your fstab.
Try creating a directory in /mnt e.g. /mnt/foo and mounting it there.
Last edited by karol (2014-05-20 18:36:22)
Offline
https://wiki.archlinux.org/index.php/US … ge_Devices suggests sd_mod and usb_storage kernel modules.
# lsmod | grep -E '(sd_mod|usb_storage)'
usb_storage 49255 1
sd_mod 37234 7
crc_t10dif 1135 1 sd_mod
usbcore 187240 11 udl,udlfb,uvcvideo,drm_usb,usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,xhci_hcd
scsi_mod 137184 3 usb_storage,libata,sd_mod
But, it looks like I already have them.
(BTW there looks like there's a typo on the web page mentioned above. It mentions usb-storage (with a hyphen). I know that the kernel module tools convert - and _ but its just a bit confusing for greping.... live and learn.)
Offline
Thanks karol, that fixed it! (didn't notice until after my kernel mod comment).
Last edited by lepubel (2014-05-20 18:50:21)
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
BTW, welcome to the Arch Linux forum :-)
Offline