X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_50,DNS_FROM_OPENWHOIS,J_CHICKENPOX_66,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <22261804.post@talk.nabble.com> Date: Sat, 28 Feb 2009 04:53:40 -0800 (PST) From: Marc Girod To: cygwin AT cygwin DOT com Subject: Re: [1.7] Editing in /etc In-Reply-To: <2bf229d30902280210h7e39865bw7ff889c879c9f081@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <2bf229d30902271645u74a7beb3n64b3312e2889e30b AT mail DOT gmail DOT com> <2bf229d30902271853w1f4f8da5w5728fa179e2bdf30 AT mail DOT gmail DOT com> <2bf229d30902280210h7e39865bw7ff889c879c9f081 AT mail DOT gmail DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Chris wrote: > > Fixed... I messed up the permissions in my /dev directory. > There may be issues with editing some files in /etc... I think of /etc/hosts, OK... a symlink to a Windows file. Editing it, you have to be careful with preserving its ownership (including group) and permissions from the Windows point of view. I have been using the cygwin tools from a Windows Admin cmd: c:\cygwin\bin\chown SYSTEM:SYSTEM hosts c:\cygwin\bin\getfacl hosts.bak | c:\cygwin\bin\setfacl -f - hosts Marc -- View this message in context: http://www.nabble.com/-1.7--Editing-in--etc-tp22257197p22261804.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/