Find the answer to your Linux question:
Results 1 to 9 of 9
Hi all Ive just installed opensuse 10.3 all excited that it is supposed to give automatic read/write access to NTFS partitions via NTFS-3g which is now built into suse. However, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    42

    openSUSE 10.3, NTFS write permission


    Hi all

    Ive just installed opensuse 10.3 all excited that it is supposed to give automatic read/write access to NTFS partitions via NTFS-3g which is now built into suse. However, it seems that only root has write access to ntfs partitions. As a simple user I can only read the partitions and write access is denied. I enclose my '/etc/fstab' entry (generated by the installation; I have not changed it) and 'ls-l' of the windows mount points to see if you guys/girls can help:

    /etc/fstab:
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part2 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale
    =en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale
    =en_GB.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part6 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale
    =en_GB.UTF-8 0 0

    ls -l /windows:
    drwxr-xr-x 5 root root 120 2007-10-05 12:37 windows

    ls -l /windows/E:
    drwxr-xr-x 1 root users 4096 2007-09-20 17:14 Documents
    drwxr-xr-x 1 root users 0 2007-09-23 12:47 Downloads
    drwxr-xr-x 1 root users 4096 2007-10-05 16:58 Images
    drwxr-xr-x 1 root users 0 2007-09-19 16:51 Misc
    drwxr-xr-x 1 root users 4096 2007-09-19 15:13 Movies
    drwxr-xr-x 1 root users 4096 2007-09-24 19:35 Music
    drwxr-xr-x 1 root users 0 2007-09-14 21:13 $RECYCLE.BIN
    drwxr-xr-x 1 root users 0 2007-09-14 23:01 System Volume Information

    Thanks for any help

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Set umask value to zero in /etc/fstab file.
    Code:
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part2 /windows/C ntfs-3g defaults,umask=0  0  0
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part5 /windows/D ntfs-3g defaults,umask=0  0  0
    /dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part6 /windows/E ntfs-3g defaults,umask=0  0  0
    Save file and reboot machine. All users will have read/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

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Posts
    42
    Can anyone tell me what those fmask and dmask parameters mean? Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    fmask and dmask set permissions on files and directories for the user and the group specified with uid and gid. Its better to set umask=0. It enables default access for all Users and Groups.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Aug 2004
    Posts
    42
    I downloaded and installed ntfs-config and used it as root to change the write permissions...all is well now.

  7. #6
    Just Joined!
    Join Date
    Jan 2009
    Posts
    1
    Quote Originally Posted by devils casper View Post
    fmask and dmask set permissions on files and directories for the user and the group specified with uid and gid. Its better to set umask=0. It enables default access for all Users and Groups.


    I have the same problem as above, but when i try to set umask=0 or umask=0002 i get error when i try to apply changes.

    What may be the problem?

  8. #7
    Just Joined!
    Join Date
    Jan 2009
    Location
    Kolkata, India
    Posts
    9

    writing on windows ntfs disk by linux user

    When I installed opensuse-10.3-Gnome, during partitioning harddisk on which I have NTFS Windows D, I ran
    1) do NOT format it,
    2) mount point /WindowsD
    3)clicked fstab and marked 'mountable by user'.
    4) OK & OK
    Now from my linux user account terminal commands
    $cd /WindowsD
    $cd directory
    $vi file

    allows me writing in the NTFS disk.

    Of course, I do not know if this can be done by 'partitioner' once the installation has been done.

    P.Rudra.

  9. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    You can do it via yast. Just be careful since you can wipe the system if you do random things.

  10. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by hjaeger View Post
    I have the same problem as above, but when i try to set umask=0 or umask=0002 i get error when i try to apply changes.

    What may be the problem?
    You must have root privileges to edit that file. Execute su - to gain root privileges in Terminal.
    Execute this
    Code:
    su -
    nano /etc/fstab
    Press Ctrl+X, Y and hit Enter key to save file.
    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
  •