delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/01/12:11:08

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Vinicius <cviniciusm AT uol DOT com DOT br>
Subject: Re: How to edit files owned by SYSTEM?
Date: Sun, 1 Oct 2006 16:10:19 +0000 (UTC)
Lines: 18
Message-ID: <loom.20061001T180720-337@post.gmane.org>
References: <3da3d8310609301034n4825f75fobd994e25988c5ef AT mail DOT gmail DOT com> <03d301c6e509$a1123830$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Dave Korn <dave.korn <at> artimi.com> writes:
> 
>   Nahh, do it the unix way:  add yourself and SYSTEM to a new group in
> /etc/groups, chgrp the files to belong to that group (leave SYSTEM as owner),
> then give them ug+w perms.  Don't chmod them world writable, that's a
> security
> violation!
> 
>     cheers,
>       DaveK

Thanks to all.

I do prefer the use of chown. I change files at /etc rarely.


Best Regards,
Vinicius.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019