You are not logged in.

#1 2012-12-12 01:41:35

bobman321123
Member
Registered: 2012-04-12
Posts: 21

[SOLVED]unable to delete files on NTFS mount

When I try to delete files mounted on my ntfs data partition, I get the message

rm: cannot remove '/mnt/data/Dropbox/Zack/DSCF9419.JPG': Operation not permitted

/etc/fstab is:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda6
UUID=d4407289-31d2-4c48-a9c3-610b70c564e0	/         	ext4      	rw,relatime,data=ordered	0 1
UUID=44EBC5660C2616FA /mnt/data ntfs defaults,auto,uid=1000,gid=1000,umask=002 0 0

Last edited by bobman321123 (2012-12-12 15:54:00)


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#2 2012-12-12 02:20:57

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED]unable to delete files on NTFS mount

Please post the output of

ls -l /mnt/data/Dropbox/Zack

(edit) -- never mind. listen to falconindy :-)

Last edited by 2ManyDogs (2012-12-12 02:37:25)

Offline

#3 2012-12-12 02:33:32

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED]unable to delete files on NTFS mount

You're using ntfs, not ntfs-3g. The former can't delete files.

Offline

#4 2012-12-12 12:16:44

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED]unable to delete files on NTFS mount

Also the auto mount option is not needed.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2012-12-12 13:59:04

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: [SOLVED]unable to delete files on NTFS mount

falconindy wrote:

You're using ntfs, not ntfs-3g. The former can't delete files.

Changing the "nfts" to "ntfs-3g" and removing the "auto" from the fstab has caused Arch to drop into emergency mode upon reboot.

Here is my new fstab:

UUID=<longstringofnumbersandletters> / ext4 rw,relatime,data=ordered 0 1
UUID=<moreirrelaventnumbers> /mnt/data ntfs-3g defaults,uid=1000,gid=1000,umask=002 0 0

==================================================
EDIT:
On further investigation, I found that ntfs-3g was not installed on my system.
I installed with

pacman -S ntfs-3g

and the above fstab worked correctly.

I am now able to delete files on the ntfs partition.
Thank you all for your help smile

Last edited by bobman321123 (2012-12-12 14:23:49)


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#6 2012-12-12 14:42:37

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED]unable to delete files on NTFS mount

Please edit your original post and change the subject to "[SOLVED]unable to delete files on NTFS mount"
This will help others to find the solution.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB