Problem! can't copy files to ntfs drive

0 M .A.K · March 30, 2015

Hi.

I have a 300G ntfs drive which i can mount and copy files from with no problem.
But confusing thing is i can't copy to that even when i'm root! it says: (mounted drive to ~/Alldata)
cp: cannot create regular file ‘./Alldata/Dark.Shadows.720p.MovieStore.dl.mkv’: Permission denied


I modified my fstab sevral times just to find out that's not the case either. fstab entry now :
UUID=01D0657B450395B0         /home/mak/Alldata   ntfs-3g    rw,auto,users,permissions,umask=0000,fmask=0000,dmask=000 0 0


So. what's ur idea? Am i missing sth?


Post a Reply

Replies

Oldest  Newest  Rating
+1 Colonel Panic · April 3, 2015
Do you have fuse and ntfs-3g installed?
0 M .A.K · April 3, 2015
yip, I do
+1 Colonel Panic · April 3, 2015
Can you show the output from the following?


ls -l /home/mak/Alldata



ls -l /home/mak/ | grep Alldata


and 
sudo mount -a
+1 Colonel Panic · April 3, 2015
Unfortunately NTFS does not play well with linux.  


I am not an NTFS expert, or a Windows expert.   But I believe that NTFS is setting an owner to it and not allowing the OS to access it.   Root is not a user that Windows recognizes, so NTFS is saying "Get bent, you don't have write perms here"  But its allowing you to read because it probably has NTFS Perms set to allow everyone to read.   

Again, I am not that great with Windows stuff.  
0 M .A.K · April 4, 2015
[mak@mak ~]$ ls -l /home/mak/Alldata
total 40
drwxrwxrwx 1 root root 8192 Mar 19 15:38 Documents
drwxrwxrwx 1 root root    0 Feb 18 12:28 Lenovo
drwxrwxrwx 1 root root    0 Mar  7 17:37 Library
drwxrwxrwx 1 root root    0 Feb 13 10:17 mak
drwxrwxrwx 1 root root 8192 Mar  7 17:32 Music
drwxrwxrwx 1 root root 4096 Mar  7 17:40 Pictures
drwxrwxrwx 1 root root 4096 Feb 23 08:45 Projects
drwxrwxrwx 1 root root 4096 Mar  2 00:18 $RECYCLE.BIN
drwxrwxrwx 1 root root 4096 Feb 13 10:53 res
drwxrwxrwx 1 root root 4096 Feb 23 22:18 Software
drwxrwxrwx 1 root root    0 Feb 12 21:57 System Volume Information
drwxrwxrwx 1 root root 4096 Mar 28 13:40 Videos
[mak@mak ~]$ ls -l /home/mak/ | grep Alldata


[mak@mak ~]$ ls -l /home/mak/ | grep Alldata
drwxrwxrwx 1 root root  4096 Mar 28 21:37 Alldata


[mak@mak ~]$ sudo mount | grep /dev/sda5
/dev/sda5 on /home/mak/Alldata type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)

unfortunately there isn't many options when trying to have a partition to use from both win and linux.
+2 Colonel Panic · April 4, 2015
Try this guys solution.  Different options.   Might help.


https://bbs.archlinux.org/viewtopic.php?id=104826


Other than I am not sure.  This is outside my relm.   I look at systems with windows stuff on it the same way I see systems with no operating system on it.  
0 M .A.K · April 4, 2015
I started windows the other night(i once did before encountering this problem). and now i can copy to that drives from my arch!
don't know what happened, what changed but i'm guessing mybe win locked those drives somehow.

I look at systems with windows stuff on it the same way I see systems with no operating system on it.


I do too:D. i need hspice and keil and some other apps for my uni projects so i'm forced to have a win installed!
+2 Colonel Panic · April 4, 2015
Why not run a VM in VirtualBox then?  Sounds like you are dualbooting.  I have to use windows at work for the VMWare Client, and to run some winRM stuff as well.  I just set up Shared folders so that my Guest can access files on my host.  Works well.


Then you don't have to reboot to get to your second environment. 
  • 1

Linux

107,304 followers
About

Linux is a free and open source software operating system for computers.

Links
Moderators
Bucky Roberts Administrator