Re: The 'rm' command and non root users

2002-12-05 Thread Bret Hughes
On Thu, 2002-12-05 at 12:47, Mike Burger wrote: > Ok...another experiment proved me wrong, again. > > Geez...I really ought to learn to test my theories before I spout off. > > Sorry. > I guess you can disregard my test I just sent. BTW Mike is there a particular reason that you always repl

Re: The "rm" command and non root users

2002-12-05 Thread Bret Hughes
On Thu, 2002-12-05 at 12:45, Mike Burger wrote: > That hasn't been my experience. If root creates a file in my home > directory, I can't delete it unless I'm root, or I'm part of the group > that owns it and the file is set for group write permissions. > always been that way for me. I never re

Re: The "rm" command and non root users

2002-12-05 Thread Vlade
I blame Redhat too...for sleeping with my wife1 - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 2:01 PM Subject: Re: The "rm" command and non root users > Sorry but I just can't help rep

Re: The "rm" command and non root users

2002-12-05 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Dec 2002 14:06:21 -0500, Rend, Jon (Jon) % wrote: > Actually, I need to defend myself hehehe. > > I did not go CHMODING for the sake of it. I in fact have a RAIDZONE > box which is a fileserver that back ends REDHAT 7.2 with lets all do > t

Re: The "rm" command and non root users

2002-12-05 Thread Robert P. J. Day
On Thu, 5 Dec 2002, Michael Schwendt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 5 Dec 2002 13:34:09 -0500 (EST), Robert P. J. Day wrote: > > > the fact that the original poster could create a file as root, and > > remove it as a "dumb test user" means he must have eithe

Re: The "rm" command and non root users

2002-12-05 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Dec 2002 13:34:09 -0500 (EST), Robert P. J. Day wrote: > the fact that the original poster could create a file as root, and > remove it as a "dumb test user" means he must have either modified an > existing directory and removed its sticky b

Re: The "rm" command and non root users

2002-12-05 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Dec 2002 13:45:35 -0500 (EST), Mike Burger wrote: > That hasn't been my experience. If root creates a file in my home > directory, I can't delete it unless I'm root, or I'm part of the group > that owns it and the file is set for group wri

Re: The "rm" command and non root users

2002-12-05 Thread philip . morales
obert P. J. Day [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 12:34 PM To: '[EMAIL PROTECTED]' Subject: Re: The "rm" command and non root users you know, before everyone starts psychoanalyzing my interpersonal skills, a small observation on what really griped my

RE: The "rm" command and non root users

2002-12-05 Thread Rend, Jon (Jon) %
: '[EMAIL PROTECTED]' Subject: Re: The "rm" command and non root users you know, before everyone starts psychoanalyzing my interpersonal skills, a small observation on what really griped my wagger about the original post: On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: > I am n

RE: The "rm" command and non root users

2002-12-05 Thread Rend, Jon (Jon) %
PM To: '[EMAIL PROTECTED]' Subject: Re: The "rm" command and non root users you know, before everyone starts psychoanalyzing my interpersonal skills, a small observation on what really griped my wagger about the original post: On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: &g

Re: The 'rm' command and non root users

2002-12-05 Thread Mike Burger
Ok...another experiment proved me wrong, again. Geez...I really ought to learn to test my theories before I spout off. Sorry. On Thu, 5 Dec 2002, Thornton Prime wrote: > > I am new to RED-HAT Linux but I was amazed at this behavior and can't > > find anything on it. > > > > I created some dummy

Re: The "rm" command and non root users

2002-12-05 Thread Mike Burger
That hasn't been my experience. If root creates a file in my home directory, I can't delete it unless I'm root, or I'm part of the group that owns it and the file is set for group write permissions. On Thu, 5 Dec 2002, Juan Martinez wrote: > Any user that can write to the directory can delete

Re: The "rm" command and non root users

2002-12-05 Thread Mike Burger
There's nothing to fix. Log back in as that test user, try to rm the file, and tell it yes when it asks about removing the write protected file. You'll see that you get an error that you couldn't do it. On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: > I am new to RED-HAT Linux but I was amazed

Re: The "rm" command and non root users

2002-12-05 Thread Robert P. J. Day
you know, before everyone starts psychoanalyzing my interpersonal skills, a small observation on what really griped my wagger about the original post: On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: > I am new to RED-HAT Linux but I was amazed at this behavior and can't find > anything on it. this

Re: The "rm" command and non root users

2002-12-05 Thread Robert P. J. Day
On Thu, 5 Dec 2002, Andrew MacKenzie wrote: > +++ Robert P. J. Day [RedHat] [Thu, Dec 05, 2002 at 10:49:29AM -0500]: > > > I am new to RED-HAT Linux but I was amazed at this behavior and can't find > > > anything on it. > > > > > if you're going to be the admin on a linux box, it's time to take

Re: The "rm" command and non root users

2002-12-05 Thread Andrew MacKenzie
+++ Robert P. J. Day [RedHat] [Thu, Dec 05, 2002 at 10:49:29AM -0500]: > > I am new to RED-HAT Linux but I was amazed at this behavior and can't find > > anything on it. > if you're going to be the admin on a linux box, it's time to take > responsibility for learning at least how basic permissi

Re: The "rm" command and non root users

2002-12-05 Thread John P Verel
On 12/05/02 08:24 -0800, Rick Johnson wrote: > Would be nice if Red Hat and others would include by default for root a > "motd" that displayed as root reading: IIRC, Red Hat 7.3 Gnome login did just that. I'm away from my Red Hat 8.0 machine as I write this, but I think this feature went away

Re: The "rm" command and non root users

2002-12-05 Thread Rick Johnson
On Thu, 2002-12-05 at 07:49, Robert P. J. Day wrote: > since others have already explained how this works, let me point out a > larger problem. if you don't understand how simple directory permissions > work, you are *definitely* not ready for root privilege. you need to take > a course or spen

Re: The "rm" command and non root users

2002-12-05 Thread Robert P. J. Day
On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: > I am new to RED-HAT Linux but I was amazed at this behavior and can't find > anything on it. no, you are not simply new to red hat linux, you are clearly new to unix in general, to which i will return shortly. > I created some dummy files as/owned b

Re: The 'rm' command and non root users

2002-12-05 Thread Thornton Prime
> I am new to RED-HAT Linux but I was amazed at this behavior and can't > find anything on it. > > I created some dummy files as/owned by root on my WS with only "r" > permission bit set for group and world. Then I logged into the same box > as a dumb test user with no privileges and used "rm" to r

Re: The "rm" command and non root users

2002-12-05 Thread Juan Martinez
Any user that can write to the directory can delete a file in it. If the sticky bit is set on the directory (e.g. /tmp) then a user can only delete his own files. Juan On Thu, 5 Dec 2002, Rend, Jon (Jon) % wrote: > Date: Thu, 5 Dec 2002 10:26:56 -0500 > From: "Rend, Jon (Jon) %" <[EMAIL PROTECT