View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-26-2013, 02:55 AM   #1
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,455

Rep: Reputation: 51
Changing the owner for a NTFS-3G partition.

semoi@server:/almacen/circuitcellar/2008-abr/nuevo$ cat /etc/fstab
/dev/sda6        /almacen         ntfs-3g     fmask=000,dmask=000 1   0
Given this fstab, /almacen and all its descendants are owned by root:
semoi@server:/almacen/circuitcellar/2008-abr/nuevo$ ls -ld /almacen/
drwxrwxrwx 1 root root 4096 2013-08-03 18:02 /almacen//
How could I make user 'semoi' the owner and group of /almacen and all its descentants?
Old 08-26-2013, 03:05 AM   #2
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Slackware
Posts: 114

Rep: Reputation: 11
For example: mount -t ntfs-3g -o uid=semoi,gid=wheel /dev/sda6 /almacen
Old 08-26-2013, 03:21 AM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,455

Original Poster
Rep: Reputation: 51
Thank you very much, StreamThreader. I changed the /etc/fstab with 'uid=semoi,gid=semoi' and now every file in the /almacen tree is semoi:semoi!


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
ran mkfs.vfat over top ntfs partition... any way to restore ntfs partition info? oryan_dunn Linux - Hardware 8 10-14-2010 07:08 PM
Changing Partition from NTFS to Linux robinhood1995 Linux - Hardware 3 12-27-2006 11:09 AM
Changing Owner sghod1212 Mandriva 1 12-19-2005 07:30 PM
Changing an NTFS partition to FAT KMcD Slackware 2 10-18-2004 04:54 AM
Changing some of my Linux partition back to NTFS HeavyWeight Linux - General 0 06-11-2004 01:02 PM

All times are GMT -5. The time now is 04:28 PM.

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