[100021] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: what's this supposed to be???

daemon@ATHENA.MIT.EDU (Tomas Buday)
Wed Nov 18 06:17:12 1998

Date: Wed, 18 Nov 1998 12:17:37 +0100 (CET)
From: Tomas Buday <tomas@snt.sk>
To: redhat-list@redhat.com
In-Reply-To: <19981118111344.B15406@adbvdesign.analog.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


ok, thanks a lot....just thought that a file owned by root:root
(or anyone else) just can't be removed by me even though it's in my $HOME.
 
> I'm not quite sure what you problem is, but maybe a few explanations might
> be helpful.
> 
> Ok, you logged in as user and then issued the "su" command. As you didn't
> use "su -", you become root, but the directory stays the same (and so does
> the environment!). Hence, you're still in the user's directory. (For more
> info on su: man su).
> Then, you create a file as root in the user's directory and log back out to
> become yourself again. And now, as an ordinary user, you're able to remove a
> file created by root in your directory - and that's correct. It's your user
> directory, so you have the full power over it's contents, be they put there
> by somebody else or not.
> 
> Does that help you?
> 
> Thomas



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post