cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2403
Views
10
Helpful
5
Replies

recursive" not deleted -- permission denied

please help 

1 Accepted Solution

Accepted Solutions

TJ-20933766
Spotlight
Spotlight

Sorry about that. I just realized that you're at the ROMMON prompt. Since you're in ROMMON, the syntax is different. I know how to delete files within the directory but not the directory itself. To delete the image within the directory, use:

ap: delete flash:ap3g2-k9w8-mx.153.JPK/ap3g2-k9w8-mx.153.JPK

Alternatively, if you want to delete everything in flash, you could use the following command:

format flash:

Then you could upload the another image via TFTP

View solution in original post

5 Replies 5

TJ-20933766
Spotlight
Spotlight

your syntax is incorrect. Because you don't have have a space between "/force" and "/recursive", the AP is confused as to what you are trying to do. Add the space and try the command again

delete /force /recursive flash:ap3g2-k9w8-mx.153-3.JPK

okay i will try again

ap: delete /force /recursive flash:ap3g2-k9w8-mx.153-3.JPK
Are you sure you want to delete "/force" (y/n)?y
File "/force" not deleted -- permission denied
Are you sure you want to delete "/recursive" (y/n)?y
File "/recursive" not deleted -- permission denied
Are you sure you want to delete "flash:ap3g2-k9w8-mx.153-3.JPK" (y/n)?y
File "flash:ap3g2-k9w8-mx.153-3.JPK" not deleted -- is a directory

TJ-20933766
Spotlight
Spotlight

Sorry about that. I just realized that you're at the ROMMON prompt. Since you're in ROMMON, the syntax is different. I know how to delete files within the directory but not the directory itself. To delete the image within the directory, use:

ap: delete flash:ap3g2-k9w8-mx.153.JPK/ap3g2-k9w8-mx.153.JPK

Alternatively, if you want to delete everything in flash, you could use the following command:

format flash:

Then you could upload the another image via TFTP

thank you for the solution

Review Cisco Networking for a $25 gift card