← Back to team overview

enterprise-support team mailing list archive

Re: [Question #214401]: error: /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied subprocess installed post-installation script returned error exit status 126 in Ubuntu 12.04 LTS

 

Question #214401 on samba4 in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba4/+question/214401

leatherlineage posted a new comment:
The error you're encountering indicates a permission issue with the
`setoption.pl` script in the Samba installation process. To resolve
this, try running the command with `sudo` to ensure proper permissions:

```bash
sudo dpkg --configure -a
```

Alternatively, check the permissions of the file and correct them:

```bash
sudo chmod +x /usr/share/samba/setoption.pl
```

Then try installing or configuring Samba again.

https://leatherlineage.com

-- 
You received this question notification because your team Ubuntu
Server/Client Support Team is an answer contact for samba4 in Ubuntu.