ESXi 5.1 Read Only Files

I ssh'd into my esxi 5.1 box and chmod'd /etc/vmware/firewall/service.xml

After editing the file and doing a :wq I get operation not permitted. I've tried the cp the file to another name then copying it back after editing. It did work but it didn't work. After reboot the file was back to what it was.

I've tried editing rc.local to put a cp command to copy an xml from the datastore to the /etc/vmware/firewall directory but the rc.local goes back to what it was also.

I need to add a firewall rule to allow 1311 for dell's open management service.  The VIB installed fine but opening the firewall port seems to be a problem.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Are you using the FREE version of ESXi 5.1 ?

normally you would create a new xml file, as per these articles, also note the VMware KB, so the custom rule is persitent after a reboot.

see here
jasonsloganAuthor Commented:
Not sure if you read my whole post. I can't change rc.local file. Both of your links say to do this but it won't stay changed after a reboot. I get an Operation not Permitted when I try to save the file with the changes from the kb articles on vmware's site. I am using the free version.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
I'm afraid you cannot do it with the FREE version, this is why I asked, if you were using the free version.

The FREE version is read only, no management settings can be saved or accessed.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Server Hardware

From novice to tech pro — start learning today.