Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to hide a user folder from any other users from seeing. The user should still be able to log in through the login window using their username and password.

Is this possible?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You have two options. The first is to use Terminal to set the folder's hidden flag. Open Terminal from /Applications/Utilities and type the following command:

chflags hidden /Users/SHORTNAME

where SHORTNAME is the name of the user's home folder. This will hide the folder from Finder, but other users could still find it, or change Finder's preferences to show hidden folders.

Alternatively, you could place the home folder for that user in a different location. Open the Users & Groups (or Accounts) pane in System Preferences, click the lock to unlock it, right-click on the user, and choose Advanced Preferences…. Then click the Choose button after Home directory and find a different location (you might want to press Shift+Command+. to show hidden folders for this). Now, the user's home will be in a different place so others will have a harder time finding it.

share|improve this answer
add comment

Your Answer

 
discard

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.