Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to restrict access to a NTFS partition to a standard (non-admin) user?

I have 5 NTFS partition on single hard disk where ubuntu is also installed. I want to restrict particular user to have only READ permission and wont make changes or delete anything on NTFS drives. Even want to restrict some folder's on NTFS parition to get access or hide from user. I can do it very well in Win7 but no idea how to in UBUNTU 12.04 ?

Also how can i grant access to NTFS partition to that user without password prompt ?

Yelp needed in advance configuration.

share|improve this question

marked as duplicate by Mitch, Eliah Kagan, Jorge Castro, jokerdino, Anwar Shah Aug 7 '12 at 7:03

This question was marked as an exact duplicate of an existing question.

Any easy steps then the above link ? – Amit Rane Aug 4 '12 at 7:35

First of all, mount the partitions you want to restrict. Then navigate to /media/ directory and note the mount pount (names where partitions has been mounted)

Fire up a terminal and execute the following commands -

sudo blkid - note the UUID and sda number (/dev/sda'x') of the partition you want to keep restricted

sudo nano /etc/fstab

And add the following at the end -

/dev/sda'x' /media/'mount point' ntfs-3g noauto,uid=xxxxyyyy,unmask=7 0 0

share|improve this answer
What will make this ? I want partition to be mounted automatically without asking for root password . and would restrict user from making changes to it even some folder to hide from him – Amit Rane Aug 5 '12 at 11:27
For mounting disks automatically, check this link.‌​4/165462#comment209447_165462 – Akshit Baunthiyal Aug 5 '12 at 11:30
OK @AkshitBaunthiyal but what about the command you have given what will it do ? – Amit Rane Aug 5 '12 at 11:32
Just check the link I posted. Add the part after 'mount point in this post' to the command in the other post. It will automount the partition and restrict usage by other users. – Akshit Baunthiyal Aug 5 '12 at 11:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.