cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6725
Views
0
Helpful
2
Replies

permission denied when trying to delete or rename in bridge: mode

scanaan
Level 1
Level 1

i got a cisco 1310 aironet with a forgotten password.

i am trying to follow pw recovery which calls for renaming the config.txt and env_vars.txt in bridge mode (like romon).

when i try deleting or renaming it gives me unfound /  permissions denied.

[as a different approach i tried loading a new image via tftp but ran out of space,

that doesnt overwrite the existing image it seems just writing the tar to the available flash space.]

heres the output:

bridge: dir flahs:

unable to stat flahs:/: permission denied


bridge: dir flash:

Directory of flash:/


2    -rwx  3852      <date>               private-config

3    -rwx  277       <date>               info

4    drwx  256       <date>               c1310-k9w7-mx.123-7.JA3

145  -rwx  4450      <date>               config.txt

146  -rwx  316       <date>               env_vars

147  -rwx  3096      <date>               private-multiple-fs

148  drwx  64        <date>               c1310-k9w7-mx.124-3g.JA1


2736640 bytes available (5004800 bytes used)


bridge: rename  config.txt oldfig.txt

rename: no such file or directory


bridge: delete  config.txt

Are you sure you want to delete "config.txt" (y/n)?y

File "config.txt" not deleted -- permission denied

1 Accepted Solution

Accepted Solutions

Stephen Rodriguez
Cisco Employee
Cisco Employee

Try to do it like this:

bridge: rename flash:/config.txt flash:/oldfig.txt

in rommon/bridge, you usually have to call the directory you are wanting to look into or change.

HTH,

Steve

Please remember to rate helpful posts

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

View solution in original post

2 Replies 2

Stephen Rodriguez
Cisco Employee
Cisco Employee

Try to do it like this:

bridge: rename flash:/config.txt flash:/oldfig.txt

in rommon/bridge, you usually have to call the directory you are wanting to look into or change.

HTH,

Steve

Please remember to rate helpful posts

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

brilliant, works, thank you!

Review Cisco Networking for a $25 gift card