<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Make so other people cant access your home directory]]></title>
    <link>http://brainstorm.ubuntu.com/item/6106/</link>
    <description><![CDATA[I created a new Guest account, then I stripped it of all user privileges.<br /><br />Then I found out, that it could access all MY private data files in MY home directory.<br /><br />Please fix it so that other users cannot read the home directories of other people. This is a breech of privacy.<br />
<br />


<b>[656 votes] Solution #1: Auto-generated solution of idea #6106</b>
<br />

<br />
<br />



<b>[11 votes] Solution #2: Create a separate shared folder all users can access with read-write permissions</b>
<br />

<br />
<br />



<b>[2 votes] Solution #3: Create a "Private" folder inside each user's home to respect privacy</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Sun, 30 Mar 2008 16:57:18 +0000</pubDate>
    <lastBuildDate>Sun, 23 Jan 2011 14:56:32 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/6106/</guid>
        <item>
  <title>Comment from TBH</title>
  <description><![CDATA[Seriosuly man, WTF? <br /><br />chmod 750 -R /home/tbh/<br />chown tbh:tbh -R /home/tbh <br /><br />and nobody except root can not access my personal data.<br /><br />This do not neet fix. It need thinking.]]></description>
  <pubDate>Sun, 30 Mar 2008 19:37:30 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[So now I need to open the command line and manually enter commands in order to secure my computer to prevent other people from accessing files on MY account?]]></description>
  <pubDate>Sun, 30 Mar 2008 20:05:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from Lee</title>
  <description><![CDATA[@TBH: no, it doesn't matter that it's easy to fix.  No matter how easy things are, one of them will always be missed if they all have to be done manually.  "Secure by default" is an important security principle.  Moreover, easy for some is complex for others, and those others are precisely the ones who need security defaults.  Advanced users who know about permissions, creating users/groups, etc. will probably customise no matter what the default is.]]></description>
  <pubDate>Sun, 30 Mar 2008 20:35:52 +0000</pubDate>
</item>
        <item>
  <title>Comment from mribecky</title>
  <description><![CDATA[No, go with naitilus to /home, right click in your home > properties > permissions. Then change "Others" permissions to none then "Apply permissions to enclosed files"]]></description>
  <pubDate>Sun, 30 Mar 2008 20:37:11 +0000</pubDate>
</item>
        <item>
  <title>Comment from ubuntu_demon</title>
  <description><![CDATA[see also :<br />http://brainstorm.ubuntu.com/idea/5287/<br />http://brainstorm.ubuntu.com/idea/6111/]]></description>
  <pubDate>Sun, 30 Mar 2008 20:38:30 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[mribecky,<br />It should be secure by default.<br />People told me that Linux is secure.<br />I assumed it was.<br />I shouldn't have to secure it manually...]]></description>
  <pubDate>Sun, 30 Mar 2008 21:05:07 +0000</pubDate>
</item>
        <item>
  <title>Comment from vexorian</title>
  <description><![CDATA[That's a little lame to say.<br /><br />Privacy and security are unrelated topics, you are mostly talking about letting someone with access to your computer and expecting him not to find stuff, even if home was invisible by default, the guy would be able to access your stuff using the recovery mode or by inserting a live cd.<br /><br />The most secure system is not going to protect you about a guy having physical access to your computer.]]></description>
  <pubDate>Sun, 30 Mar 2008 21:22:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from vexorian</title>
  <description><![CDATA[You didn't tell the system the files were private, so the guessing account was accessing your public files, not your private files.]]></description>
  <pubDate>Sun, 30 Mar 2008 21:24:08 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[With disk encryption, someone with physical access to the computer would not be able to access my files using recovery mode or a live CD.<br /><br />The system should assume that anything in MY home directory were private files.]]></description>
  <pubDate>Sun, 30 Mar 2008 21:30:43 +0000</pubDate>
</item>
        <item>
  <title>Comment from ziggyfish</title>
  <description><![CDATA[Eldmannen:<br /><br />AFAIK, Windows (XP) does this as well. You can refine the so called 'security' for each file. Linux, just has a better way of preforming the same task.]]></description>
  <pubDate>Sun, 30 Mar 2008 23:40:08 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[ziggyfish,<br />As far as I know, when using Windows XP together with NTFS, you cannot access other peoples data from their accounts.]]></description>
  <pubDate>Mon, 31 Mar 2008 00:23:02 +0000</pubDate>
</item>
        <item>
  <title>Comment from mribecky</title>
  <description><![CDATA[@Eldmannen<br />As vexorian said, this is not a security issue, its a privacy thing. Considering Ubuntu is a desktop OS, the only people able to access it are people you allow, so I dont think ubuntu should hide anything unless told to.]]></description>
  <pubDate>Mon, 31 Mar 2008 01:18:35 +0000</pubDate>
</item>
        <item>
  <title>Comment from alberge204</title>
  <description><![CDATA[With all due respect, changing the permissions of your home directory so that other users can't read your files is very easy in Nautilus. As far as I know, the standard permissions on virtually all systems give read only access to other users on the same machine, and this is a very sensible default. You can imagine there would be a lot more confused people if users on a system couldn't share files by default.]]></description>
  <pubDate>Mon, 31 Mar 2008 06:28:35 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[mribecky,<br />I think privacy and security, while not the same thing, goes hand-in-hand. There are no privacy category, so I picked security.<br />Just because I allow someone to use my computer, does not mean I want them looking through all my personal stuff.<br /><br />alberge204,<br />We shouldn't justify a faulty behavior on the basis that "hey, they are doing it too".<br />This behavior is wrong, and should be fixed. Yes, it is easy to fix (for those people aware of the problem), but it should be secure by default.]]></description>
  <pubDate>Mon, 31 Mar 2008 08:49:20 +0000</pubDate>
</item>
        <item>
  <title>Comment from soccerfan</title>
  <description><![CDATA[Eldmannen,<br />I think you remember wrong. Although in XP there is the option to restrict your home directory (or any other), it isn't enabled by default.<br /><br />I don't know what would be the better way for most people.<br />For me, the actual default is OK.<br /> <br />Maybe it would be a solution, if you can decide through the installation process.]]></description>
  <pubDate>Mon, 31 Mar 2008 09:47:09 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[What is the point of having a password protected account, if people can access your files?]]></description>
  <pubDate>Mon, 31 Mar 2008 12:16:31 +0000</pubDate>
</item>
        <item>
  <title>Comment from jalejandre</title>
  <description><![CDATA[In my opinion, even if this were a bug, this is not a bug report platform, so you should use the Ubuntu launchpad for this.]]></description>
  <pubDate>Mon, 31 Mar 2008 13:26:51 +0000</pubDate>
</item>
        <item>
  <title>Comment from Agony</title>
  <description><![CDATA[Change it so that no one can see the files in your homefolder and people will be crying because no one can share their files with their family. (or other users)<br /><br />Frankly I think this is the right way to do things; If you put something inside your house(computer) all other members of your family(who live in the same house/use the same computer) will be able to access it, unless you put a lock on it(change the default permissions)<br /><br />Privacy and Security do not go hand in hand, but through security bugs your privacy can often be compromised. This is not the case though, nobody online(unless he knows your password and you got something like SSH installed) can get to your files.<br /><br />And the reason you got a password protected account is to prevent anyone from MODIFYING or DELETING those files in your home folder.<br /><br />I hope this clears it up, if this is such a big issue perhaps the installer should ask "oh users on the same machine can access your files, do you need more privacy?" Although I hope we get an "expert" installation mode where this kind of question is just left out, there is a limit to how much hand holding a user can tolorate.]]></description>
  <pubDate>Mon, 31 Mar 2008 14:56:33 +0000</pubDate>
</item>
        <item>
  <title>Comment from Shii</title>
  <description><![CDATA[This is unexpected behavior; therefore, it should be fixed. It's that simple.]]></description>
  <pubDate>Mon, 31 Mar 2008 21:59:02 +0000</pubDate>
</item>
        <item>
  <title>Comment from ld_barthel</title>
  <description><![CDATA[(Nicely stated, Agony)<br /><br />The word "assume" has been used/implied several times in this discussion, e.g.:<br /><br />"I assumed [Linux was secure]."<br />"The system should assume that anything in MY home directory were private files."<br />"This is unexpected behavior..."<br /><br />Unexpected? Let's take a moment to look at OpenBSD, one of the (if not *THE*) most secure Unix systems available today. According to http://www.openbsd.org/cgi-bin/man.cgi?query=umask&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html the default umask in OpenBSD is 022: only write permission is withheld from other users.<br /><br />We should remember that "other" users includes system users like daemon, bin, sys, lp, gdm, and mysql. If you lock down your entire home directory, you may lose the ability to read  your own configuration files or run some programs.<br /><br />If you remove read and execute permission from your home directory, then other users cannot even find the files you *want* them to be able to read unless they know the exact full pathname.<br /><br />If you have data that is truly private, it is up to *YOU* to mark it as private--even encrypting it if necessary.<br />]]></description>
  <pubDate>Tue, 01 Apr 2008 11:55:47 +0000</pubDate>
</item>
        <item>
  <title>Comment from droetker</title>
  <description><![CDATA[in debian you can choose if you want to have "system wide readable home directories" or not.<br />Ubuntu is a debian derivate.<br />Ubuntu chose that way, so that is no no mishappen.<br /><br />But in my opinion it is very bad to, so i vote for security.<br />Anyone could change his home dir readable if he wants.<br />But it does not comply with Ubuntus "no default open ports" philosophy.<br /><br />]]></description>
  <pubDate>Tue, 01 Apr 2008 18:24:57 +0000</pubDate>
</item>
        <item>
  <title>Comment from Hawke</title>
  <description><![CDATA[Agony wrote,<br /><br />"people will be crying because no one can share their files with their family"<br /><br />And people will be crying because their family found those  files they didn't want others to see.<br /><br />Either statement is not a valid one to build a system default from, even if they were both true.<br /><br />"Secure by default" is, though.<br /><br />See also articles like this: http://www.bestsecuritytips.com/news+article.storyid+245.htm<br /><br />From the article, "Always chose carefully the folders and files which you intend to share ...".  That article refers to p2p file sharing, but the general principle of not sharing with (potentially) untrusted other people applies here.]]></description>
  <pubDate>Fri, 04 Apr 2008 15:52:53 +0000</pubDate>
</item>
        <item>
  <title>Comment from briceparent</title>
  <description><![CDATA[I think it would really be better to split the home directories into a private part and a local-shared part, where from the beginning both of them already have their own access rights. <br />The first with full access to the owner, restricted access to the group, and no access to the others (so a 027 Umask).<br />The second would just be adding rights to the others (022).<br />New users would just have to ask themselves if they want or not to share their files to know where they have to put them. <br />/home/[user]/ or /home/[user]/shared/]]></description>
  <pubDate>Sat, 05 Apr 2008 14:19:15 +0000</pubDate>
</item>
        <item>
  <title>Comment from Adrian Godoy</title>
  <description><![CDATA[Agreed. Only you and root should be able to look at your /home.]]></description>
  <pubDate>Mon, 07 Apr 2008 23:01:22 +0000</pubDate>
</item>
        <item>
  <title>Comment from banana</title>
  <description><![CDATA[There was a question in the default installer when you add a new user:<br />should the home directory be home readable ?<br />you could check yes/no.<br />(At least it was in the debian and ubuntu text installer).<br />Where did it go ?<br />It should be restored if it's gone.]]></description>
  <pubDate>Thu, 10 Apr 2008 08:30:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from banana</title>
  <description><![CDATA[small typo:<br />should the home directory be WORLD readable.<br />sorry]]></description>
  <pubDate>Thu, 10 Apr 2008 08:31:03 +0000</pubDate>
</item>
        <item>
  <title>Comment from alvevind</title>
  <description><![CDATA[+1<br />I think the "secure by default" policy should imply privacy between non-privileged user accounts. Perhaps have a "Shared Files" folder for each account that is open to the other users.]]></description>
  <pubDate>Sat, 19 Apr 2008 10:44:01 +0000</pubDate>
</item>
        <item>
  <title>Comment from The RedBurn</title>
  <description><![CDATA[This is especially important if http://brainstorm.ubuntu.com/idea/1474/ was to be implemented.<br />What if because of a security hole, a remote user gains access to the guest account and get your files ?<br />Stolen informations can be worse than lost informations.]]></description>
  <pubDate>Tue, 29 Apr 2008 18:42:06 +0000</pubDate>
</item>
        <item>
  <title>Comment from The RedBurn</title>
  <description><![CDATA[I forgot to suggest to create by default a "sharing folder" with read access to everybody.]]></description>
  <pubDate>Tue, 29 Apr 2008 18:44:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from Monicker</title>
  <description><![CDATA[Interesing.  The default for all other linux and unix operating systems that I have used is for the a user's home directory to only be accessible by that user.<br /><br />Sometimes Ubuntu deviates in very questionable ways.<br /><br /><br />By default the only person who should be able to read a user's files is that user.  They can always change it if they want to  give access to others.]]></description>
  <pubDate>Sat, 03 May 2008 14:12:37 +0000</pubDate>
</item>
        <item>
  <title>Comment from Hammer89</title>
  <description><![CDATA[While I've gotta agree that a users home dir. should only be viewable by him and root... I can't agree that this is all that big a deal... especially since I can fix it in half a minute. :P]]></description>
  <pubDate>Thu, 08 May 2008 21:00:26 +0000</pubDate>
</item>
        <item>
  <title>Comment from drinkypoo</title>
  <description><![CDATA[This is probably mostly because stuff lives in your homedir that needs to be accessible from outside like public_html. Solution is to make the directory it lives in (your home that is) +x but not +r or of course w (octal 1 in other words) and then one can still chdir there or through there but can't read it. The system knows what directories to look for.<br /><br />What is needed is for the homedir to be set 0751.]]></description>
  <pubDate>Fri, 09 May 2008 14:39:13 +0000</pubDate>
</item>
        <item>
  <title>Comment from natureflow</title>
  <description><![CDATA[sudo dpkg-reconfigure adduser]]></description>
  <pubDate>Fri, 13 Jun 2008 12:49:14 +0000</pubDate>
</item>
        <item>
  <title>Comment from Hawke</title>
  <description><![CDATA[Yes, workarounds are known.  But it's important that the default be secure.<br /><br />]]></description>
  <pubDate>Fri, 13 Jun 2008 15:23:00 +0000</pubDate>
</item>
        <item>
  <title>Comment from Craig73</title>
  <description><![CDATA[I think the directory should be inaccessible by default or as part of setup or first login run a security wizard that asks these questions.  It's always safer to be locked down first and then open it up after.<br /><br />(actually... the security wizard seems like a nice idea for upgraders where new ideas on security setups could tighten up their setup)<br /><br />In terms of allowing other users access (frustration around that) I think the /home/shared folder is a good idea as well.<br /><br />For parents or others that feel they should have full access to another users home directory... add to Nautilus that when you hit an "access denied" that it give you the option of entering your (or the administrator) password to change the security on that folder [since it is the logical next action]]]></description>
  <pubDate>Thu, 26 Jun 2008 18:43:50 +0000</pubDate>
</item>
        <item>
  <title>Comment from Amarsingh0793</title>
  <description><![CDATA[This is a very good idea. Even though I have never experienced this problem, if someone else starts to experience it, then we should find a solution and make it so that it is fixed in an update or a distro-upgrade. +1 from me]]></description>
  <pubDate>Mon, 30 Jun 2008 16:50:14 +0000</pubDate>
</item>
        <item>
  <title>Comment from argh0</title>
  <description><![CDATA[At first look I agreed with that. And then I thought about shared music libraries, shared videos...<br /><br />Why not make the /home/user directory with access rights and a sub directory like /home/user/documents completely private ?<br />Or perhaps, a default encrypted directory called "the vault".<br /><br />Or make a kind of "non user" or shared /home containing the music and everything.<br /><br />And changing the privacy is so not a big deal with the "properties" menu !]]></description>
  <pubDate>Mon, 21 Jul 2008 12:30:56 +0000</pubDate>
</item>
        <item>
  <title>Comment from young</title>
  <description><![CDATA[also voted for but now when i think about it, it wolud be better to have a separate "private" folder]]></description>
  <pubDate>Sun, 14 Sep 2008 08:16:35 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[Both OSX and Vista make this possible by making home directory encryption easy, out of the box. We suck at ease of use because unfortunately some of the linux crowd feels that commands in CLI are user friendly]]></description>
  <pubDate>Sun, 14 Sep 2008 09:00:26 +0000</pubDate>
</item>
        <item>
  <title>Comment from matsonfamily</title>
  <description><![CDATA[    Correct me if I'm wrong on any of this:<br /><br />I found Ubuntu uses the Debian umask of 022, but I can change that to something like 027 (~/.profile)...  so then I'm good, right?  ...well, now I find out that my Gnome/KDE file managers will still create with 022, so I change the /etc/login.defs umask value (or is that only for *new* logins?)... but no go... so I changed the rights...<br /><br />chmod -R o-rwx /home<br />chmod 755 /home<br /><br />that gave me the 750 permissions in the individual home dirs that I wanted, but Nautilus still saves as 755/644 (umask 022)!  I finally fixed it by changing the umask in the global profile (/etc/profile), and now it works.<br /><br />I know I probably did a step I didn't have to, but hopefully that helps someone that doesn't want the "you can view anyone's files except for root" filesystem.<br /><br />:)]]></description>
  <pubDate>Sun, 21 Dec 2008 08:54:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from bit7</title>
  <description><![CDATA[Thank you for your post matsonfamily. It's very helpful.<br /><br />I think default umask 022 is ok, because group users can read, if they are in the same group like the owner.]]></description>
  <pubDate>Fri, 16 Jan 2009 20:16:46 +0000</pubDate>
</item>
        <item>
  <title>Comment from bit7</title>
  <description><![CDATA[I have checked the umask 022 (644) and see that of course others have the right to read too. So umask 027 in /etc/profile in case of setting user folder private is better than umask 022.<br /><br />Not so easy for a linux noob to understand all that permission stuff :)<br /><br />Something like the mac os would of course nice for users like me...]]></description>
  <pubDate>Fri, 16 Jan 2009 22:06:04 +0000</pubDate>
</item>
        <item>
  <title>Comment from bit7</title>
  <description><![CDATA[One issue of matsonfamily suggestion is that after i set "chmod 755 /home", i got umask 022 when i add a new user, although in /etc/profile is setting 027 as default.<br /><br />So i have to set the new user folder to 700 to restrict other users access to this folder.]]></description>
  <pubDate>Wed, 21 Jan 2009 19:04:12 +0000</pubDate>
</item>
        <item>
  <title>Comment from smartin</title>
  <description><![CDATA[Hi,<br /><br />It seems that this issue has been abandoned but I'm nearly having a nervous breakdown about it.<br /><br />Having Home folders readable by any user on the box is completely insane. To tout Ubuntu as 'Secure by design' and release it in this state beggars belief.<br /><br />Plainly Home folders should be readable *only* by the owner. Shared folders should be clearly marked as such.<br /><br />This is a matter of security and privacy. It should be fixed as a matter of priority.<br /><br />Simon]]></description>
  <pubDate>Fri, 10 Jul 2009 16:18:26 +0000</pubDate>
</item>
        <item>
  <title>Comment from aysiu</title>
  <description><![CDATA["Change it so that no one can see the files in your homefolder and people will be crying because no one can share their files with their family. (or other users)"<br /><br />Or do it the way Windows and Mac do, which is actually the correct way: make it so users cannot read each other's files, and then have a separate shared folder where shared content be put and accessed by all users.]]></description>
  <pubDate>Sun, 12 Jul 2009 08:41:40 +0000</pubDate>
</item>
        <item>
  <title>Comment from MasterNetra</title>
  <description><![CDATA[I Agree with this Idea the contents of the home directory shouldn't be readable by default to other users, not only that it shouldn't even be viewable or accessible from another system, some kind of strong encryption or something is needed to help safe guard the system. Its one thing if you make a folder or file public, but another if someone can access it via other means when you have made it private, you shouldn't need to encrypt a file with some other program.]]></description>
  <pubDate>Wed, 22 Jul 2009 02:34:00 +0000</pubDate>
</item>
      </channel>
</rss>

