Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: NTFS-3g - writing to windows partition

  1. #1

    Default NTFS-3g - writing to windows partition

    This may not be the right place to post this, but here goes...

    I am now trying SUSE 11 on my computer; have installed it and it is up and running as I type this into gedit and post it via firefox. But I have some questions. First - it is vitally important to me to be able to mount the windows partition and be able to write to it safely. I even know the command:

    mount -rwv -t ntfs-3g /dev/sda1 /mnt/win

    But I am aware that you will screw up your windows filesystem if you don't use "ntfs-3g" (instead if just "ntfs" and the "3g" is an added on driver of some kind.) The question is ...

    How can I be sure that NTFS-3G is installed? Does it come already installed with Suse 11? Or do I have to download and install it? If I need to install ntfs-3g, what should I do?

    I also have questions about customozing the desktop, but I'll save those for later. I am using Suse 11.1 with Gnome, NOT KDE.

  2. #2
    Join Date
    Jul 2008
    Location
    Netherlands
    Posts
    1,139

    Default Re: NTFS-3g - writing to windows partition

    NTFS-3g comes by default with openSUSE.
    Writing permissions however do not.

    If you want to ensure yourself that ntfs-3g is in fact installed, in a console as root use the command:
    zypper se ntfs-3g
    If it has the letter i infront of it, it's installed, if it isn't do a
    zypper install ntfs-3g.

    If you want write permissions, please see NTFS - openSUSE
    Or simply,
    1. Start up Partitioner
    2. Select the ntfs partition
    3. Hit the edit button
    4. Hit the fstab button
    5. Add umask=0002 to the Arbitary option value field (it's a comma seperate list so you need to add ,umask=0002).


    This is all assuming the ntfs partition already has been mounted, as it is by default in the /windows/ directory.
    Special effects <- KDE 4.2 Showing off
    More KDE -> PINK KDE

  3. #3

    Default Re: NTFS-3g - writing to windows partition

    Thanks.
    I did that command and NTFS-3G is marked with an i, so it should be already installed. I also read in the reference link that by default only root can write to NTFS. That's good; that's the way I want it. I only want the person who has the root password - me - to be able to write to NTFS. So I guess I wont have to change any umask settings?

  4. #4
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,429
    Blog Entries
    34

    Default Re: NTFS-3g - writing to windows partition

    Quote Originally Posted by Rhyader View Post
    But I am aware that you will screw up your windows filesystem if you don't use "ntfs-3g" (instead if just "ntfs" and the "3g" is an added on driver of some kind.) The question is ...
    "ntfs" is the older ntfs driver which worked reasonably well for read only, but did not work well for read/write to an NTFS partition. NTFS-3G is a software fork to NTFS driver, where NTFS-3G provided read/write to NTFS.

    Quote Originally Posted by Rhyader View Post
    I also read in the reference link that by default only root can write to NTFS. That's good; that's the way I want it. I only want the person who has the root password - me - to be able to write to NTFS.
    If I read this correctly, you are operating your openSUSE with root permissions. This is VERY BAD practise. I can not over state that. As a matter of course you should never operate nominally as user root, but rather should operate as a regular user, and only switch to root permissions when absolutely essential. Do not apply MS-Windows practises here to Linux as you will invariably either:
    a. mess up your system by inappropriate use of root permissions, or
    b. be compromised by a hacker who takes advantage of your inappropriately operating too much as user root, and then you will be a menace to everyone else on the internet.

    If you are looking at copying data files to the NTFS parttion, then setup your NTFS permissions for either all regular users, or for a specific user, but do NOT restrict it to user root.

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,721
    Blog Entries
    20

    Default Re: NTFS-3g - writing to windows partition

    You want to edit /etc/fstab

    Help info here: HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

    here is an example:
    /dev/sda2 /path_to/mount_point ntfs-3g defaults 0 0
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6

    Default Re: NTFS-3g - writing to windows partition

    I saw a NTFS-3g webpage which suggested in FAQ for write access, that selecting the 'user' option would be necessary.

    /dev/sda2 /path_to/mount_point ntfs-3g defaults,user 0 0

  7. #7
    Join Date
    Jun 2008
    Location
    India
    Posts
    9

    Default Re: NTFS-3g - writing to windows partition


  8. #8

    Default Re: NTFS-3g - writing to windows partition

    Thanks for finding that!

  9. #9
    Join Date
    Aug 2008
    Location
    /Linux/Userland
    Posts
    279

    Thumbs up Re: NTFS-3g - writing to windows partition

    Quote Originally Posted by nikeshjauhari View Post
    Great link -easy to configure !
    Linux User 483705 @ http://counter.li.org/

  10. #10

    Default Re: NTFS-3g - writing to windows partition

    Quote Originally Posted by caf4926 View Post
    You want to edit /etc/fstab

    Help info here: HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11

    here is an example:
    /dev/sda2 /path_to/mount_point ntfs-3g defaults 0 0
    The ntfs-config didn't work exactly like I wanted it to so I used the above link and got my system just the way I wanted it. A very helpful site, all in all.

Page 1 of 2 12 LastLast

Posting Permissions

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