| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| 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 |
| 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 |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| 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 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |