need to edit /etc/my.cnf but cant

when i try to edit /etc/my.cnf i get

[ Cannot open file for writing: Permission denied ]

i put in lsattr /etc/my.cnf and i get

------------- /etc/my.cnf

i done chattr -i /etc/my.cnf i got this
chattr: Permission denied while setting flags on /etc/my.cnf

i also tried chmod 755 my.cnf i get chmod: changing permissions of `my.cnf': Operation not permitted

is there anything i can do ?

 

 

 

 

Top