Problem in the directoty /user/share

by mistake ,
i changed the directory and sub directories of the path /usr/share to the permissions 777

i type in the console

$chmod -R 777 /usr/share

but i made an iso backup before 4 days ,

my question is ,

if i copied the folder /usr/share from the old server which is before 4 days and paste it in my current server ,

should it fix the problem ???

or new errors may occurs ???

want to mention that firewall is not working after chanfing the permission of /usr/share to 777

regards

I have no clue what you are talking about.

CentOS does not have a user/share directory. There is a /usr/share. It is not used in FreePBX or Asterisk but is used by some OS applications.

I don’t know what firewall you are talking about. iptables does not use /usr/share for anything.