PDA

View Full Version : Unable to delete files


marcodiver
08-14-2007, 07:19 PM
:mad:
I'm running WinSCP and i copied some applications into the Applications directory.
Installer
Doom

I'm having some problems now:D :
1) when i run the installer icon it starts with nothing on it. From the installer tutorial it should have few programs in it to install. Am I correct ?

2) i loaded Doom into the Installer.app and as a separate directory under Applications (doom.app) but again the icon run an empty application. Nothing starts

3) i would like to clean up the mess of files into the Applications directory but, WinSCP return me a message
Command 'rm -f -r "chgrp"'
failed with return code 126 and error message
-sh: line 221: /bin/rm: Permission denied.


Any idea where i'm making mistakes ?

Thanks



I'm not even able to create a new directory.
It seems that i can just copy from the PC to the iPhone with WinSCP but nothing else

eddy123
08-14-2007, 08:08 PM
For Mac users, fix it by connecting to your iPhone first (using ’ssh root@youripaddress’, change youripaddress to your iPhone IP address). Type ‘chmod +x rm' Now, try to run the program again.

For Windows users, fix it by connecting to your iPhone using WinSCP. Chmod it by right-clicking the files that you want, select ‘Properties’ from the menu. Type ‘755′ in octal field box and the file should run correctly now.

marcodiver
08-14-2007, 10:31 PM
Unfortunately it's not enough.
I've setup file properties to 777 that should be the max possible "opening" but it doesn't work.

I've also tried your suggestion on the properties setup but still doesn't work.

and here is the error message:
Command 'rm -f -r "Default.png"'
failed with return code 126 and error message
-sh: line 58: /bin/rm: Permission denied.
:confused:

marcodiver
08-14-2007, 10:36 PM
i was reading the error message:

Command 'rm -f -r "Default.png"'
failed with return code 126 and error message
-sh: line 58: /bin/rm: Permission denied.

and it says "/bin/rm: Permission denied" so thought: may be does it want permissions on the rm command file ?
and guess what it is !!!!!

That's so unbelievable !!

I'm not skilled at all (actually i'm totally ignorant) on MAC but that sucks !

Ok anyway thanks a lot for the help

Marco

greggsymington
08-15-2007, 01:04 AM
If you installed ssh with one of those "kits" you are missing files. To confit this, go to the /bin folder. If there in not a file called "rm" you cannot delete. If not, download the iphonebin and tranfer the files and try again.
.