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: How does a script find where Cygwin is installed?

On Fri, 3 Sep 2004, Dave Korn wrote:

> > -----Original Message-----
> > From: luke.kendall
> > Sent: 03 September 2004 08:17
> > (I'm doing this to try to ensure that if a SysAdmin user installs
> > Cygwin for the actual owner of the machine, the owner will later have
> > permission to update or even uninstall Cygwin themselves.)
>   For this to work, they just need to install it "For all users", don't
> they?

Not necessarily.  There may be weird inheritable permissions on C:\, which
will propagate to C:\cygwin, and from there to all of the installed files.
The above is one way of fixing this after the fact.  Arguably, setup.exe
should check for these kinds of problems before creating C:\cygwin on new
installs (<>).
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

Unsubscribe info:
Problem reports:

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