Ubuntu auto mount NTFS drive by fstab

===step 1===
Find out uid and gid:
type id in terminal

===step
2===
modify file: /etc/fstab

/dev/sda2 /home/ProgDoc
auto defaults,umask=007,uid=1000,gid=1000 0 0

===step
3===
symbolicLink (sudo)

ln -s /home/ProgDoc/Documents
/home/username

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s