Find the answer to your Linux question:
Results 1 to 7 of 7
OK. I'm banging my head against the wall here I booted into AntiX (LiveCD) on my laptop. Mounted my native (internal) HDD as ntfs, with rw. But for some reason ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    24

    Copy: ERROR Operation not permitted; when trying to copy from ntfs HDD

    OK.

    I'm banging my head against the wall here

    I booted into AntiX (LiveCD) on my laptop. Mounted my native (internal) HDD as ntfs, with rw. But for some reason I can't copy anything to/from the drive... I can browse the files in ROXFiler, but that's it. I'm trying to backup some files (not many) from an external HDD.

    Both drives are NTFS

    I have ntfs-3g driver version 2009.4.4

    What am I missing? I tried everything I can think of.
    Last edited by TechShui; 06-17-2011 at 01:56 AM.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,935
    In your title you say you can't copy from ntfs drive and in the text of your post you say you can't copy to the drive? Which is it? What are you trying to copy and from where to where? Did you check permissions?

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    24

    Copy: ERROR Operation not permitted; when copying to/from ntfs HDD

    yancek, thanks for the reply.

    Thread titles on this forum have a maximum character count of 70. My original title was "when trying to copy to and from ntfs HDD", but that was 77, too long.

    I didn't realize I left it out of the OP though.

    I wanted to keep the question short and simple. I also didn't say that I was root when trying to copy (that should be obvious).

    A few more details:

    -- The internal laptop HDD has Windows 7
    -- The LiveCD's Ramdisk is squashfs (maybe they're incompatible?)
    -- I've also tried an external USB drive with ntfs and that mounts, and I can browse the directories, but no files can be copied (to or from).

    I'm trying to backup files from a ruined Windows installation. I'll try fsck next, but I doubt that will make a difference.

    Here's a thought: Because it's a Live CD maybe there are a couple drivers missing, and maybe those drivers are needed for the Hard Drive Controller to work properly.

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,935
    If you are trying to copy data from the ntfs partition on your interal laptop drive, where are you trying to copy it to and exactly how are you doing this. Have you created a mount point to copy to?

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    24
    From my OP:
    I booted into AntiX (LiveCD) on my laptop. Mounted my
    native (internal) HDD as ntfs, with rw.
    Mounted in this case
    means I mounted it to /mnt/sda2, as follows:
    Code:
    mount -t ntfs
    /dev/sda2/  /mnt/sda2
    Note that I used sda2, since that is the
    partition that contains my Windows 7 OS and user files. (The other
    sda1 partition is for Win7's 100Mb System Repair partition). Also, in
    case you were curious, here's my fstab.
    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # Dynamic entries below
    /dev/sda1 /mnt/sda1 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime$
    /dev/sda2 /mnt/sda2 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime$
    /dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
    /dev/sr0 /media/cdrom udf,iso9660 noauto,users,exec,ro 0
    And I'm try to backup data from an external USB at /mnt/sdb2, it has a Windows XP installation. The destination for the files is my internal hdd at /mnt/sda2. But even if I choose a different source, with the same destination, it won't write, it simply won't give me write access, understand?

    The easiest solution would be to try another distro, either that or try another version of ntfs-3g? This AntiX has 2009.4.4 as I mentioned earlier.

    Any feedback would be appreciated, thanks!

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    24
    Oh, by the way I already checked the permissions, I set them to 0111 with the umask option. But to no use, because I still get "Permission denied" errors.
    Code:
    mount -l
    /dev/sda2 on /mnt/sda2 type ntfs (rw,umask=0111)

  7. #7
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,935
    My limited understanding of umask would indicate your settings should work? If you see write permission for root when you run: ls -l /mnt/sda2 then it should work. Can't think of anything else to suggest. Maybe a newer version of ntfs-3g?

    If your xp installation on the external is ruined, why do you not use the windows 7 to copy the files? Maybe I'm missing something here?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •