X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: How to edit files owned by SYSTEM? Date: Sun, 1 Oct 2006 04:28:13 +0100 Message-ID: <03d301c6e509$a1123830$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <3da3d8310609301034n4825f75fobd994e25988c5ef@mail.gmail.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 30 September 2006 18:35, Eliah Kagan wrote: >> According to Vinicius on 9/30/2006 5:59 AM: >>> Hello, >>> >>> How to edit files owned by SYSTEM, please? > > On 9/30/06, Eric Blake wrote: >> chown them to someone else, or chmod them to be world writable, or become >> SYSTEM yourself (search the archives for sysbash for this last trick). >> Administrator accounts can generally chown a file to another user. > > Yes, in other words, the same way you would edit them in "native windows." > 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 -- Can't think of a witty .sigline today.... -- 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/