bashrc not saving changes

I am trying to do some changes at bashrc file located at /etc directory of my server. First I tried to edit bashrc via FTP downloaded on my pc changed it and loaded back, but it seems like changes are not reflecting.

Therefore I tried to change it via putty shel using vim bashrc command. but again same problem. it not reflecting my changes.

Its really strange. What should be cause of above problem?

You need root permission to perform this action.

Regards

It might be because that the user you used to log on to the server did not have permission to modify files under /etc.

1 Like

I already logged in as root user, which is su "supreme user".

is the file only in read mode or somthing check that also/...