openSUSE / obs-build

OBS build script, can be used with OBS or stand alone
GNU General Public License v2.0
132 stars 183 forks source link

Fix permissions of /dev/pts/ptmx to make virtual terminals usable #891

Closed OlegGirko closed 1 year ago

OlegGirko commented 1 year ago

The default permissions of ptmx device in devpts filesystem are 000 (none), making virtual terminals not available to regular users.

This causes some packages (like pytest) to fail tests that need virtual terminals.

This change adds a mount option specifying permissions of ptmx device in devpts filesystem, making virtual terminals vailable to regular users.