HDD owner

Asked by penqwin

How to change NTFS partition owner? (i wanna use it from my account without using sudo or supervisor account)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kamil Strzelecki
Solved:
Last query:
Last reply:
Revision history for this message
Kamil Strzelecki (esack) said :
#1

add 'uid=your_user_name' to the options column in /etc/fstab.
Also add 'user' if you want mount/umount it without using sudo.
Eg. if you have:
/dev/hda1 /media/ntfs ntfs defaults 0 0
line in your /etc/fstab file and your user name is 'myname', change it to:
/dev/hda1 /media/ntfs ntfs defaults,uid=myname,user 0 0

HTH

Revision history for this message
penqwin (penqwin) said :
#2

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 / ext3 defaults,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/sda1 /media/Master ntfs defaults,Windows-1251,uid=penqwin 0 0
/dev/hdc /media/DVD udf,iso9660 user,noauto 0 0
=============================================================================
It doesnt't work! There is an error (Mounting local drives) when system starts up!

Revision history for this message
Kamil Strzelecki (esack) said :
#3

What is that 'Windows-1251' thing?? There is no such option. Remove it.

Revision history for this message
penqwin (penqwin) said :
#4

Windows-1251 is my locale encoding (I'm living in Russia and some of my files named in Russian)

Revision history for this message
penqwin (penqwin) said :
#5

Closed