Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Why can other users see all my files by default, admin or standard users? Surely only the Public folder should have a default share, with the option to share other folders with users and groups as the owner pleases?

share|improve this question

2 Answers 2

While it would be nice to have most of your files invisible, it would be impractical for situations where you need read access to to the files (for example in recovering files, or in copying the files to another system) but do not have access to the account (lost password, unable to login because of bad settings, etc).

Remember, no one can write to your folders by default unless they are logged in as root, logged in as you, a member of your group, or running a live CD.

share|improve this answer
    
...or a member of your group :) –  Nathan Osman Nov 8 '11 at 18:25
    
@GeorgeEdison yep - I'll add it :) –  RolandiXor Nov 8 '11 at 18:34

According to the security team policy:

By default, Ubuntu is designed to allow users to easily share files and help each other (see bug 48734). To support this, each user's default home directory is readable by all other users. Private files could be kept in the "Private" sub-directory, where access permissions can be set to limit access by other users (mode 0700). If restrictive home directory permissions are a priority for your system, please investigate the /etc/adduser.conf file for adjusting various settings when creating new users, including the default permission mask for newly created home directories.

share|improve this answer

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.