You are not logged in.

#1 2017-12-24 03:58:26

NotableSpectator
Member
Registered: 2017-12-24
Posts: 6

[Solved]Can't write to mounted drive

I've migrated from Mint to Arch recently.  Before I installed Arch I moved my home directory to my Windows drive so I could move all my data back.  Now that I've successfully moved all my data I want to remove my home data from the Windows drive.  I mounted said drive using "mount /dev/sdb2 /mnt".  When I tried removing the directory in caja I got the "Operation not permitted" error.  Tried the same thing with the rmdir command, same error.  Not just the directory but I can't delete any files from or create any files on the drive.  I've tried changing the permissions with chmod and changing ownership to root with chown, no avail.  I've tried "chattr -i /mnt" and got the error "Inappropriate ioctl for device while reading flags on /mnt".  I've honestly no idea what could be the problem besides a physical issue with the drive or the SATA cable.

Last edited by NotableSpectator (2017-12-24 05:05:28)

Offline

#2 2017-12-24 04:00:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved]Can't write to mounted drive

Windows drive...I'm assuming NTFS? Are you using the kernel's read-only NTFS driver, or the fuse-based ntfs-3g driver?

Offline

#3 2017-12-24 04:09:22

NotableSpectator
Member
Registered: 2017-12-24
Posts: 6

Re: [Solved]Can't write to mounted drive

Scimmia wrote:

Windows drive...I'm assuming NTFS? Are you using the kernel's read-only NTFS driver, or the fuse-based ntfs-3g driver?

Installing ntfs-3g seems to have fixed the issue, thanks

Offline

#4 2017-12-24 05:04:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved]Can't write to mounted drive

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB