delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/11/29/05:30:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=MEoUqbUrRFT0JI0I87rFh2iRJ5h5Z
UyjImJDq0LvOIGKlfENCyRukVKmlWWN3w7hfCmp4rT6QSixMVViIjy8p7xbL5039
0IyuDYfJ1bsrOSxxSFFneF/WGi5KD5zpfl2YmbpX0PPpvIHB1nTmgcNFdBMw5xsn
9Gn0pOpfc8usrQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=a7Y5Tlb8TPjdeGXUgj322tLUkYA=; b=sZg
ptsV7nbZX+/Wp1jMw+4VpSQkjGbQ9l74O0jVWV3C2fCneVBIV4kJ0YInhHn7ILEt
9LUIoNlexbpudgTeqcifs0FjIf5OeSuO26xTImj1CBtFmcDQ+DT7yNEj1QM2bh7b
I4W71aYpAYDXLG2d4UeJn+VdVp8am0QZPJMN+dyg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=choices, owned
X-HELO: out.mail.ec.europa.eu
From: "KAVALAGIOS Panagiotis (EEAS-EXT)" <Panagiotis DOT KAVALAGIOS AT ext DOT eeas DOT europa DOT eu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin does not include admin full rights to home directories
Date: Fri, 29 Nov 2019 10:29:42 +0000
Message-ID: <939fb0727c2048a6b9e7fcdd72c90f8e@BELBRU-EXMP101.eeas.europa.eu>
References: <0b569a727b2b48d3b23ec50ec15aed5a AT BELBRU-EXMP101 DOT eeas DOT europa DOT eu> <1575021327996-0 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1575021327996-0.post@n5.nabble.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id xATAUMU8021743

> Hi,
> 
> 
> If you want to remove old Cygwin installation, you have 2 choices:
> 
>  - if install has been done for all users, just remove Cygwin folder from
> Windows Explorer
> 
>  - if install has been done just for current user requiring admin rights, just
> start a new cygwin session with bash or csh; go to cygwin folder and then
> type: \rm -rf "Cygwin_folder";. In this case some system files have been
> installed, only removable by file owner.

Hi Stéphane,

I am not sure I understand your distinction. The installation was performed with the following command:

setup-x86_64.exe -q -A -L -l "cygwin-repo" -R "C:\Program Files\Cygwin" -P autoconf,automake,bash-completion,binutils,curl,emacs,git,git-svn,gnupg2,inetutils,konsole,mc,openssh,patchutils,perl,python2,python3,rsync,ruby,subversion,tcsh,tmux,unzip,vim,vim-common,wget,xinit,xlaunch,xorg-server,xorg-server-common,xorg-server-xorg,xorg-x11-fonts-dpi100,xorg-x11-fonts-dpi75,xorg-x11-fonts-Type1,xorg-x11-fonts-misc,xterm,zip

Setup does not have any option for single or all users. It has only for non-admin installation (-B / --no-admin), where you obviously there is no permission issue, as all files are owned by the installation user.

However, following your recommendation, I have tried the following command:

"C:\Program Files\Cygwin\bin\rm.exe" -rf --no-preserve-root "/cygdrive/c/Program Files/Cygwin"

which seems to work pretty well so far. Thank you very much.

Panos

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019