Quote:
Originally Posted by johngoodin
Think I got the solution.
I opened my Home in Konqueror and right clicked Home in the folder pane.
Then clicked Properties - Permissions
And set Group & Others to Forbidden. It's my understanding now only I or a Root Shell in Terminal can read or write to it.
|
That sounds right. Here is another way to do this using the shell. When you list a directory's contents --
-- part of the listing for each directory entry looks like this:
rwxr-xr-x
Or something similar. Now enter this:
You will see a list of each user's directory, accompanied by the "permissions" as above. The permissions field is broken up into three subfields for (u)ser, (g)roup and (o)thers:
uuugggooo
rwxr-xr-x
The user permissions are for the the owner of the account. The group permissions for for any member of the same group as the user. "Other" permissions are for anyone else.
So, to protect your home directory from prying eyes, it is not enough to deny access to "other" but to "group" also. Like this:
Translated, this means "deny read, write, and explore access to any members of the group I belong to and all others."
The directory listing you want for maximum privacy (from all but root) is this:
username rwx------
One more detail. For a
file, the "x" permission grants the right to
execute it. For a
directory, the "x" permission grants the right to
explore it.