how to manage premission for user group for internal harddisk partitions

Asked by Maninder Singh on 2013-07-04

someone suggest me that for managing permission for accessing the partitions of hard disk you should add users to group and now i have found from that how to add user to groups.

But i not get the way how to add permissions for users in such a way that they not have access to specific hard disk partition but they have access to other partition without use of admin password?

after mounting partition in admin user when i go to properties and then to permission and their try to change the premissions something like access to files/folder and groups then when i change the groups and going to save it automatically changed to previous setting before i can save?

i am using ubuntu 12.04 LTS

so please tell how to manage the permission for user for access to hard disk partitions?

Question information

English Edit question
Ubuntu util-linux Edit question
No assignee Edit question
Solved by:
Maninder Singh
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

You can add the options in /etc/fstab so that the access is set when the partition is mounted.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :

The option : defaults
should do the trick for everyone has access to a specific partition without the need of root password.


/dev/sda2 /media/shared ext4 defaults 0 0

Now, about the other concern of yours, there are 3 type of access. Read-Write-Execute. Which of them you want to NOT have other users ? Here you can "play" with the mount point. First, change the owner to you.

sudo chown /media/mountpoint

Then AFTER you mount the partition to that mountpoint, you can change the permissions for a set of users that belong to a group.
eg: You can remove the write permission or even read permission in some files.


Revision history for this message
Maninder Singh (maninder) said :

I got the solutions for managing premission by installing sofwares.

I have tried mount manager and storage device manager for mangaing the partition.

Both software are good but storage device manager is easy while mountmanager have more functionalities.

those software not provide access to guest user but provide access to specific partitions to other user account.