Find the answer to your Linux question:
Results 1 to 6 of 6
Hi I have the same kind of problem and i have installed 3g-NTFS by 1-click install from the opensuse website,but still i can't copy some files to NTFS drives. Do ...
  1. #1
    Just Joined! roncriss's Avatar
    Join Date
    Nov 2007
    Location
    Trichy
    Posts
    11

    Can't copy files in NTFS partition

    Hi
    I have the same kind of problem and i have installed 3g-NTFS by 1-click install from the opensuse website,but still i can't copy some files to NTFS drives.
    Do i have to configure anything more than this installation i just did?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Have you edited /etc/fstab file? Replace ntfs with ntfs-3g and set umask value to zero for all NTFS partitions in /etc/fstab.

    If you have any trouble, post the contents of /etc/fstab file and output of fdisk -l command here.

    Code:
    su -
    fdisk -l
    cat /etc/fstab
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! roncriss's Avatar
    Join Date
    Nov 2007
    Location
    Trichy
    Posts
    11

    contents of my fstab!



    Hi again ,i used the commands you gave to me and here are the results!
    From what i can see here from these contents is fmask and dmask !so do i have to change these two values to 0?and also i can see ntfs is already changed to ntfs-3g!
    so what to do next?
    ************************************************** *********************************

    ron@linux-box-tz:~> su -
    Password:
    linux-box-tz:~ # fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes From what i can see here from these contents is fmask and dmask !so do i have to change these two values to 0?and also i can see ntfs is already changed to ntfs-3g!
    so what to do next?
    Disk identifier: 0x387a3879

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3187 25599546 7 HPFS/NTFS
    /dev/sda2 3188 19456 130680742+ f W95 Ext'd (LBA)
    /dev/sda5 3188 6374 25599546 7 HPFS/NTFS
    /dev/sda6 6375 6505 1052226 82 Linux swap / Solaris
    /dev/sda7 6506 9769 26218048+ 83 Linux
    /dev/sda8 9770 19456 77810796 7 HPFS/NTFS
    linux-box-tz:~ # cat /etc/fstab
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part7 / ext3 acl,user_xattr 1 1
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part6 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part8 /hd/document ntfs-3g ro,users,gid=users,fmask=133,dmask=022,locale=en_U S.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part5 /hd/vista ntfs-3g ro,users,gid=users,fmask=133,dmask=022,locale=en_U S.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part1 /hd/xp ntfs-3g ro,users,gid=users,fmask=133,dmask=022,locale=en_U S.UTF-8 0 0
    linux-box-tz:~ #

    ************************************************** ***************************************

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Log in as root and open /etc/fstab file in your fav text editor ( Gedit or kate ).
    Replace last three lines with this
    Code:
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part8 /hd/document ntfs-3g defaults,umask=0 0 0
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part5 /hd/vista ntfs-3g defaults,umask=0 0 0
    /dev/disk/by-id/scsi-SATA_ST3160215AS_6RA2SKVY-part1 /hd/xp ntfs-3g defaults,umask=0 0 0
    Save file and execute mount -a command Or reboot machine. All users will have write access in NTFS Partitions.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! roncriss's Avatar
    Join Date
    Nov 2007
    Location
    Trichy
    Posts
    11

    Smile Thanks men U did it!

    Hi
    I replaced the contents of my fstab with that u gave to me and it works!Now i can copy my files to NTFS partitions!!!
    Thanks for your help men!

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you roncriss !
    Do start a new thread if you have any other query.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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