Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-04-2010, 07:49 AM   #1
LQ Newbie
Registered: Oct 2009
Location: Netherlands
Distribution: Slackware 13
Posts: 23

Rep: Reputation: 0
Question HOW-TO allow normal users to write on NTFS external hard disk?

i have installed Salix 13.1 LXDE version (Salix 13.1 is compatible with Slackware 13.1).

I must use various external hard disks formatted with NTFS.
The hard disks are automatically recognized and mounted with PCmanFM file manager,
but only user root can write on them.

How can I allow normal users to write on automounted external ntfs drives?

Thank You

Last edited by xirtyllo; 12-04-2010 at 07:51 AM.
Old 12-04-2010, 10:07 AM   #2
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 542
Blog Entries: 7

Rep: Reputation: 55
If I am not mistaken the user has to be in the correct group "disk" to be able to write.
If thats not the case I found this from the slackwiki

Allowing users
NTFS-3G can let users other than root mount NTFS filesystems, but you'll have to set the suid flag in /bin/ntfs-3g. This applies even when using fstab with the users option.
So for this to work:
  /dev/sda1        /mnt/pendrive   ntfs-3g     noauto,users       0   0
You have to do (as root):
  # chmod 4755 /bin/ntfs-3g

Last edited by SeRi@lDiE; 12-04-2010 at 10:09 AM.
Old 12-04-2010, 07:14 PM   #3
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
First off, what I'm going to say applies to Slackware, so I have no idea if this applies to Salix too.

I'm pretty sure activating the SUID bit in /bin/ntfs-3g is not needed and you don't need to belong to the disk group. I have an external hard drive with a NTFS filesystem and I can use it normally. HAL mounts it and I'm able to write to it. I don't recall doing anything special to be able to handle this. Have you tried giving everyone "total control" to every file in the filesystem from a Windows machine?

$ groups
users lp uucp audio video cdrom plugdev power netdev
$ ls -l /bin/ntfs-3g
-rwxr-xr-x 1 root root 50392 Nov  6 22:09 /bin/ntfs-3g
Old 12-04-2010, 11:46 PM   #4
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,237

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
You definitely don't need to be in the 'disk' group, and while suid might be useful in some cases for the ntfs-3g binary, it's not needed for what you want. On stock Slackware, this "just works" as you expect.


automount, ntfs, ntfs3g, user, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount an external ntfs usb hard disk dmpop Mandriva 5 03-03-2013 11:45 AM
Mounting external usb hard drive NTFS in write mode zermon Linux - Hardware 4 02-20-2010 01:26 PM
need to write to my NT4 server ntfs share as normal users kep51 Mandriva 3 06-13-2006 01:03 PM
mounting hard drive partition write for normal users jojotx0 Linux - Hardware 1 04-19-2005 01:10 PM
Cant read/write to second hard disk under normal user Nukem Linux - General 8 01-28-2004 08:03 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration