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

Notices

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

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


Hi:
Code:
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:
Code:
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, 02:05 AM   #2
StreamThreader
Member
 
Registered: Mar 2012
Location: Ukraine/Odesa
Distribution: Skackware
Posts: 74

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

Original Poster
Rep: Reputation: 45
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!
 
  


Reply


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 06:08 PM
Changing Partition from NTFS to Linux robinhood1995 Linux - Hardware 3 12-27-2006 10:09 AM
Changing Owner sghod1212 Mandriva 1 12-19-2005 06:30 PM
Changing an NTFS partition to FAT KMcD Slackware 2 10-18-2004 03:54 AM
Changing some of my Linux partition back to NTFS HeavyWeight Linux - General 0 06-11-2004 12:02 PM


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

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