delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/09/20:11:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: KevinGPO <kevingpo AT yahoo DOT com>
Subject: HELP: Cygwin ruined my WinXP files/HDD"!!!!
Date: Thu, 9 Dec 2004 16:32:05 +0000 (UTC)
Lines: 176
Message-ID: <loom.20041209T173132-828@post.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 82.41.12.95 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322))
X-IsSubscribed: yes

I got a problem in WindowsXP. I installed some sourcecode to compile using 
Cygwin. Now I cannot seem to be able to remove/delete folders/files using the 
"rm -Rf" force command in Cygwin. Here is a detailed listing of the 
folder/files: 

CompiledLibraries/: 
total 0 
drwx------+ 3 Kevin ???????? 0 Dec 7 14:08 SDL-1.2.7 
drwx------+ 3 Kevin ???????? 0 Dec 7 14:08 SDL_net-1.2.5 

CompiledLibraries/SDL-1.2.7: 
total 0 
drwx------+ 16 Kevin ???????? 0 Dec 7 14:08 src 

CompiledLibraries/SDL-1.2.7/src: 
total 0 
dr-xr-xr-x+ 2 Kevin ???????? 0 Jun 5 2004 .deps 
dr-xr-xr-x+ 2 Kevin ???????? 0 Jun 5 2004 .libs 
drwx------+ 25 Kevin ???????? 0 Dec 7 14:08 audio 
drwx------+ 18 Kevin ???????? 0 Dec 7 14:08 cdrom 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 cpuinfo 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 endian 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 events 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 file 
drwx------+ 3 Kevin ???????? 0 Dec 7 14:08 hermes 
drwx------+ 15 Kevin ???????? 0 Dec 7 14:08 joystick 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 main 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 thread 
drwx------+ 4 Kevin ???????? 0 Dec 7 14:08 timer 
drwx------+ 34 Kevin ???????? 0 Dec 7 14:08 video 

CompiledLibraries/SDL-1.2.7/src/.deps: 
total 13 
-r--r--r-- 1 Kevin ???????? 1732 Jun 5 2004 SDL.Plo 
-r--r--r-- 1 Kevin ???????? 4076 Jun 5 2004 SDL_error.Plo 
-r--r--r-- 1 Kevin ???????? 1816 Jun 5 2004 SDL_fatal.Plo 
-r--r--r-- 1 Kevin ???????? 91 Jun 5 2004 SDL_getenv.Plo 
-r--r--r-- 1 Kevin ???????? 3919 Jun 5 2004 SDL_loadso.Plo 

CompiledLibraries/SDL-1.2.7/src/.libs: 
total 13595 
-r-xr-xr-x 1 Kevin ???????? 2746619 Jun 5 2004 SDL.dll 
-r--r--r-- 1 Kevin ???????? 22987 Jun 5 2004 SDL.o 
-r--r--r-- 1 Kevin ???????? 378828 Jun 5 2004 SDL_error.o 
-r--r--r-- 1 Kevin ???????? 21497 Jun 5 2004 SDL_fatal.o 
-r--r--r-- 1 Kevin ???????? 1814 Jun 5 2004 SDL_getenv.o 
-r--r--r-- 1 Kevin ???????? 367140 Jun 5 2004 SDL_loadso.o 
-r--r--r-- 1 Kevin ???????? 10262308 Jun 5 2004 libSDL.a 
-r--r--r-- 1 Kevin ???????? 116176 Jun 5 2004 libSDL.dll.a 
lrwxrwxrwx 1 Kevin ???????? 12 Jun 5 2004 libSDL.la -> ../libSDL.la 
-r--r--r-- 1 Kevin ???????? 783 Jun 5 2004 libSDL.lai 

<snip><snip>


Here's a sample output from the command "rm -Rf CompiledLibraries/" 

': Permission denied 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xv/.d 
eps': Directory not empty 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xv': 
Directory not empty 
rm: cannot unlink 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86dga/.deps/ 
XF86DGA.Plo': Permission denied 
rm: cannot unlink 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86dga/.deps/ 
XF86DGA2.Plo': Permission denied 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86 
dga/.deps': Directory not empty 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86 
dga': Directory not empty 
rm: cannot unlink 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86vm/.deps/X 
F86VMode.Plo': Permission denied 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86 
vm/.deps': Directory not empty 
rm: cannot remove directory 
`CompiledLibraries/SDL-1.2.7/src/video/XFree86/Xxf86 
vm': Directory not empty 
rm: cannot remove directory `CompiledLibraries/SDL-1.2.7/src/video/XFree86': 
Dir 
ectory not empty 
rm: cannot remove directory `CompiledLibraries/SDL-1.2.7/src/video': 
Directory n 
ot empty 
rm: cannot remove directory `CompiledLibraries/SDL-1.2.7/src': Directory not 
emp 
ty 
rm: cannot remove directory `CompiledLibraries/SDL-1.2.7': Directory not 
empty 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/libSDL_net.a': 
Permissi 
on denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/libSDL_net.exp': 
Permis 
sion denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/libSDL_net.la': 
Permiss 
ion denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/libSDL_net.lai': 
Permis 
sion denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll': 
Permissio 
n denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll-base': 
Perm 
ission denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll-def': 
Permi 
ssion denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll-exp': 
Permi 
ssion denied 
rm: cannot unlink 
`CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll-ltdll.c': P 
ermission denied 
rm: cannot unlink 
`CompiledLibraries/SDL_net-1.2.5/.libs/SDL_net.dll-ltdll.o': P 
ermission denied 
rm: cannot remove directory `CompiledLibraries/SDL_net-1.2.5/.libs': 
Directory n 
ot empty 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/SDLnet.lo': Permission 
denied 

rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/SDLnetselect.lo': 
Permission 
denied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/SDLnetTCP.lo': Permission 
den 
ied 
rm: cannot unlink `CompiledLibraries/SDL_net-1.2.5/SDLnetUDP.lo': Permission 
den 
ied 
rm: cannot remove directory `CompiledLibraries/SDL_net-1.2.5': Directory not 
emp 
ty 
rm: cannot remove directory `CompiledLibraries': Directory not empty


<snip><snip>


But the errors says something about cannot unlink file? Something to do with 
why the type is ????????? and why there's a + symbol beside every single file 
in the attributes (eg. drwxrwxrwx+ filename...)

There's no root mode in Cygwin, and the files were created under 
Cygwin/WindowsXP. 

I tried : 

$ rm -d * 
rm: cannot unlink `audio': Operation not permitted 
rm: cannot unlink `cdrom': Operation not permitted 
rm: cannot unlink `cpuinfo': Operation not permitted 
rm: cannot unlink `endian': Operation not permitted 
rm: cannot unlink `events': Operation not permitted 
rm: cannot unlink `file': Operation not permitted 
rm: cannot unlink `hermes': Operation not permitted 
rm: cannot unlink `joystick': Operation not permitted 
rm: cannot unlink `main': Operation not permitted 
rm: cannot unlink `thread': Operation not permitted 
rm: cannot unlink `timer': Operation not permitted 
rm: cannot unlink `video': Operation not permitted

HELP!!




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

- Raw text -


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