I'm trying to edit the file /etc/samba/smb.conf in my Raspberry Pi using vi editor.
When i try to save the file i get this error
"/etc/samba/smb.conf" E212: Can't open file for writing
I am logged in as Pi user
you need to install samba-common
yum install samba-common