Samba error ubuntu server 12.04.2

view story

http://askubuntu.com – I am attempting to install an FTP server and continue to get this error code when installing samba. I am very new to linux and am doing this as a class project for my linux class. any help would be appreciated. /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 126 Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1) (HowTos)