LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   HELP: can't delete files/folders :( (https://www.linuxquestions.org/questions/general-10/help-cant-delete-files-folders-263825/)

kevingpo 12-07-2004 07:29 PM

HELP: can't delete files/folders :(
 
Okay, I know this is not 100% Linux but I got a problem in Cygwin/WindowsXP. 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

<snip><snip>

kevingpo 12-07-2004 07:51 PM

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


All times are GMT -5. The time now is 12:43 PM.