Re: Reading what should not!

2009-09-14 Thread Matt Wozniski
On Mon, Sep 14, 2009 at 4:29 AM, Angelo Graziosi wrote: > Larry Hall (Cygwin) wrote: >> >> This is new behavior with 1.7 and it's there to mimic what one sees in >> Linux.  I can't reproduce your reported results in Fedora 8.  For me, if I >> am 'root', I can see the contents of 'foo.txt' just fine

Re: Reading what should not!

2009-09-14 Thread Mark J. Reed
On Mon, Sep 14, 2009 at 10:26 AM, Angelo Graziosi wrote: > I do not have Fedora but Kubuntu (8.04 and 9.04). On Kubuntu the user > created in the installation step, say 'pippo', is also 'root' in the sense > that 'pippo' needs 'sudo' (or 'sudo su') for administrative usage. OK, then, big differen

RE: Reading what should not!

2009-09-14 Thread Thrall, Bryan
Angelo Graziosi wrote on Monday, September 14, 2009 9:27 AM: > Mark J. Reed wrote: >> That makes no sense. "sudo" means "run as root". If you're already >> root, there's no need for sudo, and most systems don't even allow root >> to run the sudo command. > > I do not mean that 'root' need 'sudo

Re: Reading what should not!

2009-09-14 Thread Angelo Graziosi
Mark J. Reed wrote: Administrative users on Windows are treated as equivalent to root by Cygwin. I know that. If you're saying that admin users should have to use sudo or equivalent to gain elevated access in Cygwin, then that's a feature request. Does it match what Windows does? Outside of

Re: Reading what should not!

2009-09-14 Thread Angelo Graziosi
Mark J. Reed wrote: That makes no sense. "sudo" means "run as root". If you're already root, there's no need for sudo, and most systems don't even allow root to run the sudo command. I do not mean that 'root' need 'sudo'. It sounds to me like your Fedora I do not have Fedora but Kubuntu (

Re: Reading what should not!

2009-09-14 Thread Dave Korn
Angelo Graziosi wrote: > Why 'root' should read, for example, private mails of the other simple > users of that PC? Root is the superuser. Root is the administrative account. Root can do anything. The sysadmin /has/ to be able to access all the files on a system, it is a necessary part of ad

Re: Reading what should not!

2009-09-14 Thread Mark J. Reed
On Mon, Sep 14, 2009 at 4:29 AM, Angelo Graziosi wrote: > I do not know how Fedora works, but on Kubuntu the user created when > installing the SO is also 'root': one need only to use 'sudo...'. After > typing the password it 'remains active'  for about 15 minute. That makes no sense. "sudo" mean

Re: Reading what should not!

2009-09-14 Thread Angelo Graziosi
Larry Hall (Cygwin) wrote: This is new behavior with 1.7 and it's there to mimic what one sees in Linux. I can't reproduce your reported results in Fedora 8. For me, if I am 'root', I can see the contents of 'foo.txt' just fine with the permissions you have set on it. I do not know how Fedora

Re: Reading what should not!

2009-09-13 Thread Larry Hall (Cygwin)
On 09/13/2009 10:04 AM, Angelo Graziosi wrote: Just a curiosity... (I have seen th following on Cygwin-1.7, but perhaps it happens also on 1.5) Suppose that there are two users: the administrator (root) and a simple user (pippo). Suppose that 'pippo' has a file 'foo.txt' with permissions: rw---

Reading what should not!

2009-09-13 Thread Angelo Graziosi
Just a curiosity... (I have seen th following on Cygwin-1.7, but perhaps it happens also on 1.5) Suppose that there are two users: the administrator (root) and a simple user (pippo). Suppose that 'pippo' has a file 'foo.txt' with permissions: rw--- Why 'root' can read 'foo.txt'? For exam