Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 07:02:33 -0700 (PDT)
From:      The Devil Himself <fullermd@narcissus.ml.org>
To:        abc xyz <un_x@anchorage.net>
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: permissions
Message-ID:  <Pine.NEB.3.96.970504065759.20229B-100000@narcissus.ml.org>
In-Reply-To: <336C14FE.41C67EA6@anchorage.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 May 1997, abc xyz wrote:

> > > why is it that i can open, modify, and save changes to a
> > > file with r--r--r-- perms (as root)?  shouldn't a file be
> > > read only under these conditions?
> > > -------------------------------------------------------------------------
> > 
> > What do you mean, "as root"?
> 
> i mean i can do these things as root (2.2.1).
> i guess i should've added that the files ARE
> owner root, group wheel.  i don't think i
> should be able to modify such files, but i can.
> it's interesting that you say you can't.
> are you using 2.2.1?
> 
> > If the file belongs to root, and you are anyone, including root, then you
> > have a problem.
> > Doesn't sound like a common one, because I had some files on my system
> > r--r--r-- owner root, group wheel, and I got annoyed because I couldn't
> > save changes, even as root.

This was on a 2.1.6 system.
I've also experienced it on a 2.2-STABLE 4/26/97 system.
I've also come across it on a AIX 3.2.4 (shudder) system.
When you say modify and save changes, how are you doing this?
vi?
pico?
emacs?
echo?
Wasn't there some hole in emacs, about it ignoring file permissions?
I'm pretty sure there was one a while ago about it ignoring ownership...


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|FreeBSD is good.      FreeBSD is our friend.     UNIX is our god.|
*Micro$oft is bad.                      Micro$oft causes problems.*
|MicroBSD???      I DON'T THINK SO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!|
|"I hate quotes in signature files"            :-}  MAtthew Fuller|
*fullermd@narcissus.ml.org                          FreeBSD junkie*
|http://keystone.westminster.edu/~fullermd     Westminster College|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.970504065759.20229B-100000>