Date: Sun, 4 May 1997 01:43:14 -0800 (AKDT) From: Steve Howe <un_x@anchorage.net> To: The Devil Himself <fullermd@narcissus.ml.org> Cc: abc xyz <un_x@anchorage.net>, freebsd-questions <questions@FreeBSD.ORG> Subject: Re: permissions Message-ID: <Pine.BSF.3.95q.970504014022.21505A-100000@aak.anchorage.net> In-Reply-To: <Pine.NEB.3.96.970504065759.20229B-100000@narcissus.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > > 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. > 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... joe editor ... i just checked with "pico" - it will NOT allow me to do as described above. joe is the only one i can say for sure. -------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970504014022.21505A-100000>