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: RE : How can i really uninstall completly cygwin from Windows XP Pro ???


If you are a command-line junkie, you should have a Windows command called cacls that would also work.
Something like:
C:\>cd cygwin
C:\cygwin>cacls * /T /E /G Flo:F

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Igor Pechtchanski
> Sent: Sunday, February 08, 2004 8:19 PM
> To: Flo
> Cc: cygwin@cygwin.com
> Subject: Re: RE : How can i really uninstall completly cygwin 
> from Windows XP Pro ???
> 
> 
> The first is a bug in the Cygwin version of chown.  A 
> temporary workaround
> would be to use "chown -R Flo /*; chown Flo /".
> 
> For the Windows way, go to the Properties dialog, then to the 
> "Security"
> tab, then click on the "Advanced" button at the bottom, go to 
> the "Owner"
> tab, and change the owner to yourself (this recipe is for 
> Win2k, but XP
> should be reasonably similar).
> 	Igor
> 
> On Sun, 8 Feb 2004, Flo wrote:
> 
> > Hello Thx for your help but i get and error :
> >
> > > This is due to the permission and ownership settings on 
> these files.
> > > To be able to remove them, you should first take ownership of the
> > > whole Cygwin folder, either by running "chown -R $USER /" as an
> > > administrative user, or, if you've already removed part 
> of Cygwin, by
> > > going through Windows Explorer's file properties dialog for
> > > "c:\cygwin", in Advanced permission settings.
> >
> > The error :
> >
> > $ chown -R Flo /
> > chown: getting attributes of `//bin': No such file or directory
> > chown: getting attributes of `//cvsroot': No such file or directory
> > chown: getting attributes of `//cygwin.bat': No such file 
> or directory
> > chown: getting attributes of `//cygwin.ico': No such file 
> or directory
> > chown: getting attributes of `//etc': No such file or directory
> > chown: getting attributes of `//ftp': No such file or directory
> > chown: getting attributes of `//home': No such file or directory
> > chown: getting attributes of `//lib': No such file or directory
> > chown: getting attributes of `//opt': No such file or directory
> > chown: getting attributes of `//temp': No such file or directory
> > chown: getting attributes of `//tmp': No such file or directory
> > chown: getting attributes of `//usr': No such file or directory
> > chown: getting attributes of `//var': No such file or directory
> >
> > The permissions didn't change and in advanced mode of file 
> properties i
> > can't make any change, there isn't any permission options. 
> In standard
> > mode, when i uncheck "Read-only" permissions i get the 
> Access refused
> > error on any system files.
> >
> > -----Message d'origine-----
> > De?: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu]
> > Envoyé?: samedi 7 février 2004 19:46
> > À?: Flo
> > Cc?: cygwin@cygwin.com
> > Objet?: Re: How can i really uninstall completly cygwin 
> from Windows XP
> > Pro ???
> >
> > On Sat, 7 Feb 2004, Flo wrote:
> >
> > > Hello,
> > >
> > > I have a question i ever seen in this forum but without a correct
> > > response?:
> > >
> > > How can i uninstall completly cygwin from Windows XP Pro ???
> > >
> > > I try uninstall it with the setup.exe but it doesn't work :
> > >
> > > The FAQ says that :
> > >
> > > How do I uninstall all of Cygwin?
> > >
> > > Setup has no automatic uninstall facility. Just delete everything
> > > manually:
> > > * Cygwin shortcuts on the Desktop and Start Menu
> > > * The registry tree `Software\Cygnus Solutions' under
> > HKEY_LOCAL_MACHINEand/or HKEY_CURRENT_USER.
> > > * Anything under the Cygwin root folder, `C:\cygwin' by default.
> > > * Anything created by setup in its temporary working directory.
> > > It's up to you to deal with other changes you made to your system,
> > such
> > > as installing the inetd service, altering system paths, etc. Setup
> > would
> > > not have done any of these things for you.
> >
> > Oh, good, you actually read the FAQ... :-)
> >
> > > So, i stopped and removed the SSHD and INETD services and tried to
> > > delete everything manually:
> > > But i got "Acces refused" error on cygwin System files like :
> > > sshd_config, ssh_config, ssh_host_dsa_key, inetd.log...
> >
> > This is due to the permission and ownership settings on 
> these files.  To
> > be able to remove them, you should first take ownership of the whole
> > Cygwin folder, either by running "chown -R $USER /" as an 
> administrative
> > user, or, if you've already removed part of Cygwin, by going through
> > Windows Explorer's file properties dialog for "c:\cygwin", 
> in Advanced
> > permission settings.
> >
> > > One day i tried to delete the cygwin directory and i 
> didn't have any
> > > problem but now on every cygwin install i get this 
> problem and it make
> > > me nuts.
> > > I also tried to start windows in sage mode and delete it 
> but it didn't
> > > work.
> >
> > This won't help - safe mode doesn't change file ownership.  It only
> > helps
> > if the files are reported as being "in use" because there 
> are services
> > that are automatically started in normal mode.  In this 
> case, you can
> > also
> > simply stop the services via "cygrunsrv -E <servicename>".
> >
> > > Why the cygwin developpers didn't make un uninstaller, is it so
> > > difficult for them ?!!!
> >
> > Nobody bothered.  The principle of open-source development is "you
> > scratch
> > your itch, and then share the results".  If you need an uninstaller,
> > feel
> > free to contribute one.  <http://cygwin.com/acronyms/#PTC>.
> >
> > > Another BIG question why the Cygwin installer developpers 
> made a so
> > > small windows to check packages to install with Cygwin ? 
> instead this
> > > windows isn't resizable ?!!
> >
> > It's currently under development.  Try a setup snapshot:
> > <http://cygwin.com/setup-snapshots/>.
> >
> > > Florent
> >
> > HTH,
> >         Igor
> 
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor 
> and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
> 
> --
> 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/
> 
> 
> 


--
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]