Preview Quit working

I dont know wehre to put this, but I was trying to Applescript Preview and broke it. It now no longer opens.

I did the following in terminal


and now when I goto view a file in Preview, Preview does not open. How can I fix this?


I guess, you messed up the access privileges of Info.plist with the sudo command.
The current privileges are probably owner: system r/w - everyone No Access

These two terminal lines reset owner, group and privileges to the original settings

sudo chmod 664 /Applications/ sudo chown root:admin /Applications/