Re: HELP: Cygwin ruined my WinXP files/HDD
find . -type d | xargs chmod +w Hi guys, Thanks for your replies. Igor, I tried find . -type d | xargs chmod +w and then rm -Rf the main folder/directory. To no avail, it does not work :((( Igor Pechtchanski pechtcha at cs.nyu.edu writes: and then your 'rm -rf' command again. Igor -- 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/
Re: HELP: Cygwin ruined my WinXP files/HDD
On Dec 11, 2004, at 9:07 PM, KevinGPO wrote: find . -type d | xargs chmod +w Hi guys, Thanks for your replies. Igor, I tried find . -type d | xargs chmod +w and then rm -Rf the main folder/directory. To no avail, it does not work :((( Coming in the middle, so I may be out of context or you might have tried this already... But try changing the permissions of the files using windows explorer. I've had some odds cases where this is the only way to remove files. Igor Pechtchanski pechtcha at cs.nyu.edu writes: and then your 'rm -rf' command again. Igor -- 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/ Enjoy, Peter --- A Møøse once bit my sister -- 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/
Re: HELP: Cygwin ruined my WinXP files/HDD!!!!
On Thu, 9 Dec 2004, KevinGPO wrote: 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: [snip] 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 Here's a sample output from the command rm -Rf CompiledLibraries/ [snip] 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/Xxf86dga/.deps': Directory not empty [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. [snip] HELP!! First of all, calm down. Relax. Sacrifice a chicken. The '' group name on the files is a red herring -- see http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-IDS. This probably has to do with your directories not having the write permission -- in POSIX systems, you need to have permission to write to a directory to be able to delete files in it. Try find . -type d | xargs chmod +w and then your 'rm -rf' command again. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/
HELP: Cygwin ruined my WinXP files/HDD!!!!
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 snipsnip 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
Re: HELP: Cygwin ruined my WinXP files/HDD!!!!
On Thu, Dec 09, 2004 at 04:32:05PM +, KevinGPO wrote: $ 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!! Hmm. This may be a two chicken problem, I think. cgf -- 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/
Re: HELP: Cygwin ruined my WinXP files/HDD!!!!
Christopher Faylor wrote: On Thu, Dec 09, 2004 at 04:32:05PM +, KevinGPO wrote: $ 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!! Hmm. This may be a two chicken problem, I think. cgf -- 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/ I always use rm -rf foo where foo is the name of the original main directory -- 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/