This is the mail archive of the cygwin@cygwin.com 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: Postinstall failure: file not found


OK, I've got it:

/> sh -c sayhi
hi
/> sh -c /sayhi
/sayhi: not found

With strace I saw that sh uses stat (which won't show rxw rights
in this case) and it behaves differently for absolute paths.

Possible fixes:
1) cd to /etc/postinstall before running the scripts and use relative paths
2) Put my 2nd ntsec patch in setup (I have asked Rudiyanto to test it)
3) Run the postinstall scripts with CYGWIN=nontsec, for boostrap.
   Note that scripts that rely on ntsec (chmod or chown) will need to turn 
   ntsec on.
4) patch sh.exe
5) ???

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]