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: [1.7] Editing in /etc



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/


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