Re: HELP: Cygwin ruined my WinXP files/HDD

2004-12-11 Thread Peter Rehley
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  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

2004-12-11 Thread KevinGPO

> 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  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"!!!!

2004-12-10 Thread Igor Pechtchanski
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
.

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/



Re: HELP: Cygwin ruined my WinXP files/HDD"!!!!

2004-12-09 Thread Bobby McNulty
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/


Re: HELP: Cygwin ruined my WinXP files/HDD"!!!!

2004-12-09 Thread Christopher Faylor
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/