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: vi stealing SYSTEM-owned permissions and ownership

Achim Gratz wrote:
> D. Boland writes:
> > I think I have new information on the stealing of ownership. Below test has been
> > performed on the Apache folder, placed in the Windows Program Files folder by the
> > Apache msi installer:
> >
> > "/cygdrive/c/Program Files (x86)/Apache Group/Apache2/"
> >
> > But if I perform the same test in my Cygwin home directory, vi behaves beautifully.
> >
> > So, I was thinking this difference must be related to the Windows ACL assigments on
> > the "Program Files" folder.
> If you are operating as a normal user on this folder, you aren't
> actually editing the files you think you see there, the whole contents
> is virtualized by UAC and redirected to your own personal copy on edit.
> If you want to keep your sanity, do not place anything that you intend
> to edit / change as a normal user into system directories on Win7 (that
> includes Cygwin itself).
> Regards,
> Achim.

Thanks for this input. So Apache should be put in a folder, outside the windows
special folders, like:


This seems to be the default for most open source distributions: cygwin, perl, msys,
mingw, even xampp. I am still wondering, though, why the Apache Foundation wants it
in the "Program Files" folder.

You all are right in saying that the Apache .msi is a "hybrid" configuration. I
guess, maybe it's better to just use the Apache installation provided by CygWin...

I also found out about "cygrunsrv". This makes Linux daemons run Windows-native.
Very nice.

Thanks again for your input,

Problem reports:
Unsubscribe info:

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