[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1050415: PermissionError: [Errno 13] Permission denied



On 25.08.23 08:32, Mathieu Malaterre wrote:
On Thu, Aug 24, 2023 at 7:03 PM Matthias Klose <doko@debian.org> wrote:

Control: tags -1 - moreinfo

On 24.08.23 15:15, Mathieu Malaterre wrote:
On Thu, Aug 24, 2023 at 2:21 PM Matthias Klose <doko@debian.org> wrote:

Control: tags -1 + moreinfo

On 24.08.23 11:54, Mathieu Malaterre wrote:
Package: cvise
Version: 2.8.0-1
$ curl -O https://raw.githubusercontent.com/malaterre/gcc-110622/main/new/testcase.i
$ curl -O https://raw.githubusercontent.com/malaterre/gcc-110622/main/new/check.sh
$ chmod +x check.sh
$ schroot -c sid32
$ cvise check.sh testcase.i

attached the reduced testcase.


If you do not have a sid32 chroot, you may want to use
barriere.debian.org + sid_i386-dchroot

that works for me in a sid32 chroot, and also in a sid chroot.


I see this is exactly:

https://stackoverflow.com/questions/2009278/python-multiprocessing-permission-denied

In my case:

% ls -ld /dev/shm
drwxr-xr-x 2 root root 40 Aug 24 11:31 /dev/shm

on barriere.d.o:

% ls -ld /dev/shm
drwxrwxrwt 2 root root 40 Aug 25 06:28 /dev/shm


How did you setup your schroot ? Mine is:

% cat /etc/schroot/schroot.conf
[...]
[sid32]
description=Debian sid (unstable) 32-bit
directory=/home/mathieu/tmp/sid-chroot-i386
personality=linux32
root-groups=root
root-users=root
type=directory
users=mathieu

just a chroot created with sbuild:

[sid-i386]
description=sid-i386
groups=sbuild,root
root-groups=sbuild,root
# Uncomment these lines to allow members of these groups to access
# the -source chroots directly (useful for automated updates, etc).
#source-root-users=sbuild,root
#source-root-groups=sbuild,root
type=directory
profile=sbuild
union-type=overlay
directory=/var/lib/schroot/chroots/sid-i386
personality=linux32
aliases=unstable-i386
source-root-users=root,sbuild,admin
source-root-groups=root,sbuild,admin
preserve-environment=true

Attachment: testcase.i.gz
Description: application/gzip


Reply to: