Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jowie

macrumors 6502a
Original poster
Jun 9, 2004
573
8
London ish
Hi all,

I was wondering if you could help me. I am running as a user on a shared machine, and have created some folders in the root of my home folder. However, when other people use the machine under their logins, they get read access to those files. I assumed that all files within the Home folder were hidden from view.

Is there any way I can change my Home folder permissions so nobody can see stuff in my folders? If I change it, will it mean people can't access my Public folder and Drop Box?

Thanks!

:-Joe
 
Select the folder, right click and choose GET INFO (CMD+I) and look under Sharing and Permissions.

image-85.png

from Making the Most of Finder’s “Get Info” Pane
 
I am running as a user on a shared machine, and have created some folders in the root of my home folder. However, when other people use the machine under their logins, they get read access to those files. I assumed that all files within the Home folder were hidden from view.

Is there any way I can change my Home folder permissions so nobody can see stuff in my folders? If I change it, will it mean people can't access my Public folder and Drop Box?

By default, our home folder plus Public and Sites allow read access to all (whereas the other default Apple directories do not).
Code:
[color=blue]
cd ~ && stat -f '%Sp  %N' . *
[/color]
drwxr-xr-x  .
drwx------  Desktop
drwx------  Documents
drwx------  Downloads
drwx------  Library
drwx------  Movies
drwx------  Music
drwx------  Pictures
drwxr-xr-x  Public
drwxr-xr-x  Sites
[the first item (named ".") is our home].

When we create a new folder there, it also grants group and world read-access (because of something called a umask). To secure newly-created folders, we would need to remove that access... and using a Finder info window (as spinnerlys showed) is probably the easiest method for most users.

So —to deny access to these new folders while continuing to allow access to the Public folder —don't change the setting on the home folder. Rather, just tweak those new folders themselves.
 
Thanks! What great, in-depth replies! :)

I almost feel guilty now to say that I'm going to keep it as it is... I'd never realised that the Home folder was read-only accessible to other users, I actually thought it was an error on this machine!

It was mainly because I have installed Dropbox on here, and Dropbox puts their folder at the user root... So I have just removed public access to that folder and will make sure that any other non-public files I keep on this machine are in one of the default folders, or just add one of my own (and change the permissions, of course!)

You learn something new every day... Thanks!

:-Joe
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.