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 do I restrict users?

I'm sharing my computer with my roommate, and she needs access to my libre office, but I don't want her to see my financial/tax information. I've giver her a separate user account. Is there a way to make my folder not show up or be password protected for her username? I'm using Ubuntu 12.04 with a gnome classic desktop. I'm not worried about her going through terminal, I just want to hide those files or that folder in her session.

share|improve this question

marked as duplicate by Eliah Kagan, Nitin Venkatesh, RolandiXor, belacqua, John S Gruber Aug 20 '12 at 3:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome Scott, Why dont you create a login password and have her access ubuntu as "Guest" – stephenmyall Aug 12 '12 at 6:25
Please see this similar question How do I restrict Users? – Peachy Aug 12 '12 at 6:29
have you tested this at all? a real user account without sudo shouldn't be able to see inside your user's home folder – RobotHumans Aug 12 '12 at 6:33

Yes, you can do that by changing the permissions on the file(s) so that they are not readable by "others" (sometimes called world or public).

Right-click in Nautllus, go to the Permissions tab, and uncheck all three (read, write and execute) under the Others section.

From the terminal, you can also use chmod to accomplish this, setting permissions to 640 for regulat files and 750 for any binaries.

share|improve this answer
Thanks! I guess I had given the other user universal access. I appreciate everyone's help. – Scott Garay Aug 20 '12 at 13:59
Scott, in that case please consider accepting the answer to close the question. – izx Aug 20 '12 at 14:13

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