Re: Default Homedir Permissions

2011-02-19 Thread Marc Haber
On Sat, 19 Feb 2011 10:47:42 +0100, Olaf van der Spek wrote: >On Sat, Feb 19, 2011 at 9:10 AM, Marc Haber > wrote: >>>On Thu, Feb 17, 2011 at 01:44:26PM +, Ian Jackson wrote: Perhaps it might be reasonable to try to find a way for accounts like msql and www-data not to be able to acc

Re: Default Homedir Permissions

2011-02-19 Thread Olaf van der Spek
On Sat, Feb 19, 2011 at 11:43 AM, Roger Leigh wrote: > We could even do the opposite (create a "public" folder) if the > permissions are 0750, though this would require either 0751 or > ACLs to be actually accessible.  Again, we could include a README file > instructing the user how to do this. O

Re: Default Homedir Permissions

2011-02-19 Thread Roger Leigh
On Thu, Feb 17, 2011 at 11:55:16AM -0500, Martin Owens wrote: > > 0755 is not inherently insecure. Others can't make any changes, but > > they can look. The only issue here is accidental disclosure of > > information intended to be private. > > If public by default is the way we want to go, the

Re: Default Homedir Permissions

2011-02-19 Thread Olaf van der Spek
On Sat, Feb 19, 2011 at 9:10 AM, Marc Haber wrote: >>On Thu, Feb 17, 2011 at 01:44:26PM +, Ian Jackson wrote: >>> Perhaps it might be reasonable to try to find a way for accounts like >>> msql and www-data not to be able to access home directories (add >>> "daemon" to their supplementary group

Re: Default Homedir Permissions

2011-02-19 Thread Marc Haber
On Thu, 17 Feb 2011 15:06:59 +, Roger Leigh wrote: >On Thu, Feb 17, 2011 at 01:44:26PM +, Ian Jackson wrote: >> Perhaps it might be reasonable to try to find a way for accounts like >> msql and www-data not to be able to access home directories (add >> "daemon" to their supplementary group

Re: Default Homedir Permissions

2011-02-19 Thread Marc Haber
On Thu, 17 Feb 2011 14:58:36 +, Roger Leigh wrote: >Should it be locked down like Fort Knox? No. That'll lead to inexperienced users working as root since they're too stup^winexperienced to grok permissions. Greetings Marc -- -- !! No courtesy copies, ple

Re: Default Homedir Permissions

2011-02-18 Thread Noel David Torres Taño
On Viernes 18 Febrero 2011 18:44:25 Ron Johnson escribió: > On 02/18/2011 07:26 AM, Noel David Torres Taño wrote: > > On Jueves 17 Febrero 2011 22:18:25 Ron Johnson escribió: > >> On 02/17/2011 08:58 AM, Roger Leigh wrote: > >> [snip] > >> > >>> Should it be locked down like Fort Knox? > >> > >>

Re: Default Homedir Permissions

2011-02-18 Thread Ron Johnson
On 02/18/2011 07:26 AM, Noel David Torres Taño wrote: On Jueves 17 Febrero 2011 22:18:25 Ron Johnson escribió: On 02/17/2011 08:58 AM, Roger Leigh wrote: [snip] Should it be locked down like Fort Knox? There's a heck of a lot of middle ground between "Fort Knox" and "Hippy Commune". We are

Re: Default Homedir Permissions

2011-02-18 Thread Olaf van der Spek
On Fri, Feb 18, 2011 at 2:26 PM, Noel David Torres Taño wrote: > On Jueves 17 Febrero 2011 22:18:25 Ron Johnson escribió: >> On 02/17/2011 08:58 AM, Roger Leigh wrote: >> [snip] >> >> > Should it be locked down like Fort Knox? >> >> There's a heck of a lot of middle ground between "Fort Knox" and

Re: Default Homedir Permissions

2011-02-18 Thread Noel David Torres Taño
On Jueves 17 Febrero 2011 22:18:25 Ron Johnson escribió: > On 02/17/2011 08:58 AM, Roger Leigh wrote: > [snip] > > > Should it be locked down like Fort Knox? > > There's a heck of a lot of middle ground between "Fort Knox" and > "Hippy Commune". We are not a hippy comune, just two married people

Re: Default Homedir Permissions

2011-02-17 Thread Joey Hess
Martin Owens wrote: > If public by default is the way we want to go, then why not have a > Private folder be default in the users home directory? Combined with the > indication emblem in nautilus; this might provide a space for users to > put data. ATM it's too hard to teach users how to secure a f

Re: Default Homedir Permissions

2011-02-17 Thread Ron Johnson
On 02/17/2011 09:24 AM, Roger Leigh wrote: [snip] Yes, but like everything there is a tradeoff. A totally secure system is an unusable system. Why the black and white? What happened to grey? Having to instruct every user how to relax the permissions to allow others t

Re: Default Homedir Permissions

2011-02-17 Thread Ron Johnson
On 02/17/2011 08:58 AM, Roger Leigh wrote: [snip] Should it be locked down like Fort Knox? There's a heck of a lot of middle ground between "Fort Knox" and "Hippy Commune". Should it be generally usable, and easy for users to see each other's stuff? Only with the owner's permission. P

Re: Default Homedir Permissions

2011-02-17 Thread Ron Johnson
On 02/17/2011 10:55 AM, Martin Owens wrote: On Thu, 2011-02-17 at 15:24 +, Roger Leigh wrote: Yes, but like everything there is a tradeoff. A totally secure system is an unusable system. Having to instruct every user how to relax the permissions to allow others to access their files, or al

Re: Default Homedir Permissions

2011-02-17 Thread Martin Owens
On Thu, 2011-02-17 at 15:24 +, Roger Leigh wrote: > Yes, but like everything there is a tradeoff. A totally secure system > is an unusable system. Having to instruct every user how to relax the > permissions to allow others to access their files, or allow their web > pages to be visible, is e

Re: Default Homedir Permissions

2011-02-17 Thread Ian Jackson
Austin English writes ("Re: Default Homedir Permissions"): > On Thu, Feb 17, 2011 at 07:14, Ian Jackson > wrote: > > [Someone] writes ("Re: Default Homedir Permissions"): > >> [stuff] > > > > We are in danger of wasting a lot of time with

Re: Default Homedir Permissions

2011-02-17 Thread Austin English
On Thu, Feb 17, 2011 at 07:14, Ian Jackson wrote: > [Someone] writes ("Re: Default Homedir Permissions"): >> [stuff] > > We are in danger of wasting a lot of time with this discussion. > > The general pattern is that someone who is unhappy with the state of >

Re: Default Homedir Permissions

2011-02-17 Thread Marco d'Itri
On Feb 17, Ian Jackson wrote: > I disagree with this conclusion, because I disagree with the > underlying implication that the general readability of files is not > needed. Agreed. > Perhaps it might be reasonable to try to find a way for accounts like > msql and www-data not to be able to acces

Re: Default Homedir Permissions

2011-02-17 Thread Olaf van der Spek
On Thu, Feb 17, 2011 at 4:24 PM, Roger Leigh wrote: > On Thu, Feb 17, 2011 at 04:07:12PM +0100, Olaf van der Spek wrote: >> On Thu, Feb 17, 2011 at 3:58 PM, Roger Leigh wrote: >> > In general, I think it's fair to say that the average Debian >> > installation does not require Fort Knox levels of

Re: Default Homedir Permissions

2011-02-17 Thread Ian Jackson
[Someone] writes ("Re: Default Homedir Permissions"): > [stuff] We are in danger of wasting a lot of time with this discussion. The general pattern is that someone who is unhappy with the state of the world proposes a substantial change. The worry amongst the rest of us is that the

Re: Default Homedir Permissions

2011-02-17 Thread Roger Leigh
On Thu, Feb 17, 2011 at 04:07:12PM +0100, Olaf van der Spek wrote: > On Thu, Feb 17, 2011 at 3:58 PM, Roger Leigh wrote: > > In general, I think it's fair to say that the average Debian > > installation does not require Fort Knox levels of security.  Simply > > allowing other people to read our fi

Re: Default Homedir Permissions

2011-02-17 Thread Olaf van der Spek
On Thu, Feb 17, 2011 at 3:58 PM, Roger Leigh wrote: > In general, I think it's fair to say that the average Debian > installation does not require Fort Knox levels of security.  Simply > allowing other people to read our files is often something desirable; Does other refer to other users, all oth

Re: Default Homedir Permissions

2011-02-17 Thread Roger Leigh
On Thu, Feb 17, 2011 at 01:44:26PM +, Ian Jackson wrote: > Perhaps it might be reasonable to try to find a way for accounts like > msql and www-data not to be able to access home directories (add > "daemon" to their supplementary group list and set the permissions of > /home 0705 to root.daemon

Re: Default Homedir Permissions

2011-02-17 Thread Olaf van der Spek
On Thu, Feb 17, 2011 at 3:38 PM, Ian Jackson wrote: > Olaf van der Spek writes ("Re: Default Homedir Permissions"): >> chmod 755 ~ is not a hard way to remove the barrier. > > We are arguing about defaults, so this is not a relevant answer. In both cases it's easy t

Re: Default Homedir Permissions

2011-02-17 Thread Roger Leigh
On Thu, Feb 17, 2011 at 03:31:18PM +0100, Olaf van der Spek wrote: > On Thu, Feb 17, 2011 at 2:44 PM, Ian Jackson > wrote: > > Olaf van der Spek writes ("Default Homedir Permissions"): > >> Default homedir permissions are 755. World-readable (and listable). > >> Common (security) sense says that p

Re: Default Homedir Permissions

2011-02-17 Thread Ian Jackson
Olaf van der Spek writes ("Re: Default Homedir Permissions"): > chmod 755 ~ is not a hard way to remove the barrier. We are arguing about defaults, so this is not a relevant answer. > What are those assumptions based on? I could ask you the same question. We are arguing in a

Re: Default Homedir Permissions

2011-02-17 Thread Olaf van der Spek
On Thu, Feb 17, 2011 at 2:44 PM, Ian Jackson wrote: > Olaf van der Spek writes ("Default Homedir Permissions"): >> Default homedir permissions are 755. World-readable (and listable). >> Common (security) sense says that permissions that are not required >> should not be granted. For example, accou

Re: Default Homedir Permissions

2011-02-17 Thread Ian Jackson
Olaf van der Spek writes ("Default Homedir Permissions"): > Default homedir permissions are 755. World-readable (and listable). > Common (security) sense says that permissions that are not required > should not be granted. For example, accounts mysql and www-data should > not have access to my docu

Re: Default Homedir Permissions

2011-02-17 Thread Martin Wuertele
* Olaf van der Spek [2011-02-17 13:56]: > On Thu, Feb 17, 2011 at 1:52 PM, Martin Wuertele wrote: > > IIRC you are asked during installation if you want world readable home > > directories or not. > > No you're not. Unless (I assume) you do an expert install. Even then, > non-world-readble mean

Re: Default Homedir Permissions

2011-02-17 Thread Olaf van der Spek
On Thu, Feb 17, 2011 at 1:52 PM, Martin Wuertele wrote: > IIRC you are asked during installation if you want world readable home > directories or not. No you're not. Unless (I assume) you do an expert install. Even then, non-world-readble means 751, not 750. The default should still change. -- O

Re: Default Homedir Permissions

2011-02-17 Thread Martin Wuertele
* Olaf van der Spek [2011-02-17 13:51]: > Default homedir permissions are 755. World-readable (and listable). > Common (security) sense says that permissions that are not required > should not be granted. For example, accounts mysql and www-data should > not have access to my documents. > > Some