Post-Install Scripts: chmod 755 /var doesn't work

Thrall, Bryan bryan.thrall@flightsafety.com
Mon Apr 27 15:34:00 GMT 2009


K.C. Lee wrote on Monday, April 27, 2009 6:57 AM:
> I'm trying to make a unattended installation of cygwin including
openssh
> server. 
> 
> For some reason I have to excute the following 2 lines and I write
> them into some /etc/postinstall/xxx.sh and compress it as .tar.bz2
> file
> chmod +r /etc/passwd
> chmod +r /etc/group
> 
> But this didn't work.

I assume you're using Cygwin 1.5, in which case try setting CYGWIN=ntsec
(Cygwin Setup sets it to nontsec by default; see
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html for what these
settings mean):

export CYGWIN=ntsec
chmod +r /etc/passwd
chmod +r /etc/group

-- 
Bryan Thrall
FlightSafety International
bryan.thrall@flightsafety.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/



More information about the Cygwin mailing list