How to edit files owned by SYSTEM?

Dave Korn dave.korn@artimi.com
Sun Oct 1 03:28:00 GMT 2006


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/



More information about the Cygwin mailing list