Comment 29 for bug 1732030

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: [Bug 1732030] Re: 'apt update' dies with seccomp error

On Wed, Apr 4, 2018 at 8:29 AM, Jimmy Olsen <email address hidden> wrote:

> Hi Christian. I tried to run this command but it didnt work:
>
> marcos@marcos:~$ echo 'apt::sandbox::seccomp::allow { "socket" };' >
> /etc/apt/apt.conf.d/99seccomp
> bash: /etc/apt/apt.conf.d/99seccomp: Permission denied
>

The path this gets placed in is only writable by root.
So you either need to "sudo su" before you do the above.
Or you can use sudo to write with permissions through tee, like:

 $ echo 'apt::sandbox::seccomp::allow { "socket" };' | sudo tee
/etc/apt/apt.conf.d/99seccomp