Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 05:19:25 -0700 (PDT)
From:      The Devil Himself <fullermd@narcissus.ml.org>
To:        Steve Howe <un_x@anchorage.net>
Cc:        freebsd-questions <questions@FreeBSD.ORG>
Subject:   Re: permissions
Message-ID:  <Pine.NEB.3.96.970504051735.20229A-100000@narcissus.ml.org>
In-Reply-To: <Pine.BSF.3.95q.970503180921.19680A-100000@aak.anchorage.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 May 1997, Steve Howe 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"?
If the file belongs to someone else, and you are root, then it doesn't
matter what the permissions are.
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.


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|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.970504051735.20229A-100000>