Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I need to mount an EXT4 partition at startup but not for all users, only for my user.

If it's possible (I'm sure it is) I would like to deny all permissions from that partition for the other users.

share|improve this question
Do the other users have root access? If so, then all bets are off. – Zoredache Sep 24 '11 at 10:42
No, I only have root privileges – Nahuel Garbezza Sep 24 '11 at 16:20

After mounting the partition (let say /mnt/mypart), change the owner of the mount point so that your user (let say myuser) is the owner

$ sudo chown myuser:root /mnt/mypart

and give the permission to this user to access this partition using chmod:

$ sudo chmod 700 /mnt/mypart

Doing this, only myuser and root will be able to access this partition. The partition has to be mounted when you are executing these commands.

share|improve this answer
+1. The most obvious way :D – grawity Sep 24 '11 at 6:41

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.