This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to edit files owned by SYSTEM?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]