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

It is possible somehow restrict access to a partition to a specific user in Ubuntu? I am using Ubuntu x64 11.10, I made 2 accounts, both accounts belong to the Administrators group. And I have 3 partitions, on first is OS formatted in ext4, the second one is swap, and the third one is partition designed for data storage, formatted in NTFS, now I want to restrict access to the third one for second user, or hide it. And by the way, the NTFS partition is set to mount automatically at start up.

share|improve this question
up vote 2 down vote accepted

Create a group called ntfs. Then edit the group to add all of the users that you want to be able to access the ntfs partition.

sudo addgroup <groupname> ( ntfs )


    sudo chgrp ntfs /media/disk (ntfs )
    sudo chmod 770 /media/disk (ntfs )

To add a new user to a existing group you would do this:

sudo adduser  (username)  ntfs

For More Detail plz have look

share|improve this answer
Thanks, I'll try and I'll came up with an answer – Denees Feb 2 '12 at 8:07
The solution has no changes :), the disk is still accessible from second user – Denees Feb 2 '12 at 12:16
add details and update your ? – One Zero Feb 2 '12 at 12:25
which details? the ntfs partition is still accessible, I made all the steps which you described below – Denees Feb 2 '12 at 12:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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