fw upgrade: Permission denied

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

fw upgrade: Permission denied

breda
HI, I keeping getting this Error  /sbin/fw_upgrade: Permission denied I downgrading to V5 due to lost of internet traffic   due to  duplicate snort rules i'm in bridge mode  can some some give me setup buy steps commands  for CLI please

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

user8446
Administrator
What are your rights on fw_upgrade? Probably need to change permissions
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

breda
Thanks i'm login as Root for the shield and log in as administrator on my win pc

Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

user8446
Administrator
I saw your screenshot and you just need to change the permissions using chmod... I'm a rookie so I'll have to look it up to make it executable. I'm sure one of the experts on here knows it off the top of their head. Also did you do this for your other error:

http://itus.accessinnov.com/Hotfix-160210-tp8p504.html
Running in bridge mode, 1.51 SP1 fw
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

breda
This post was updated on .
Hi, can you walk be Thu the setups I'm  rookie with command prompts  not sure how to use chmod
Thanks for all the help  
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

hans2
breda wrote
Hi, can you walk be Thu the setups I'm  rookie with command prompts  not sure how to use chmod
Thanks for all the help
source: https://en.wikipedia.org/wiki/Chmod 

basically, use chmod as followed:

chmod <rights> <file>

rights:
644 gives root read/write (6) and the rest read (4) access
755 gives root read/write/execute (7) and the   rest read/execute (5) access
700 gives root read/write/execute (7) and no access for the rest


so in your case

chmod 755 /sbin/fw_upgrade

gives rwx access for root to file fw_upgrade in folder /sbin.

Itus has not been consistent with their scripts, some of them are executable (755) and some of them are not (644).
If a script file (like my .sh scripts) is NOT executable, then you need to start them with "sh /sbin/fw_upgrade"

No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

Wisiwyg
You can also use WinSCP by highlighting fw_upgrade, right mouse, properties, and then checking the 3 X associated boxes.
Shield Pro v1, Chaos Calmer, FW 1.51 SP1, v8.3.2, Bridge Mode
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

breda
This post was updated on .
Hi, Thanks everyone I checked the 3 X associated boxes  I'm getting this error in  SSH

root@Shield:/#  sh /sbin/fw_upgrade
: not foundgrade: line 22:
: not foundgrade: line 25:
/sbin/fw_upgrade: line 315: syntax error: unexpected end of file (expecting "then")
root@Shield:/#


I wanted to ask if someone can make YouTube video on the proper steps that need to be done for all update to the  Shield Pro
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

breda
This post was updated on .
Should I try to update to version 7? or stay with V 5 for bridge mode  use?

It was Recommend rollback to V5 of the update script to fix your issue. Minor bug in V6:

fw_upgrade.fw_upgrade

http://itus.accessinnov.com/Hotfix-160301-FINAL-td157i20.html

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

Roadrunnere42
Hi breda

upgrade to version fw_upgrade7.1 as the bug was sorted in this version.


roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

breda
Thanks Roadrunnere42  is this the right file for V7?  http://itus.accessinnov.com/Update-script-fw-upgrade-td43.html
Reply | Threaded
Open this post in threaded view
|

Re: fw upgrade: Permission denied

Roadrunnere42
Yes that's the right file

roadrunnere42