Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/pts/* is owned by root #1242

Closed
swick opened this issue Feb 20, 2023 · 3 comments
Closed

/dev/pts/* is owned by root #1242

swick opened this issue Feb 20, 2023 · 3 comments
Labels
1. Bug Something isn't working

Comments

@swick
Copy link
Contributor

swick commented Feb 20, 2023

Describe the bug
Running qemu as part of the mutter test suit requires access to /proc/self/fd/2 which is a symlink to /dev/pts/4 in my case. All of the files in /dev/pts are owned by root. Simply chowning them does work around the issue.

Steps how to reproduce the behaviour
qemu-system-x86_64: -chardev file,id=console,path=/proc/self/fd/2, as issued by the mutter test suit.

Expected behaviour
/dev/pts/* should be owned by the user running the toolbox.

Actual behaviour
/dev/pts/* is owned by root.

Output of toolbox --version (v0.0.90+)
toolbox version 0.0.99.3

@swick swick added the 1. Bug Something isn't working label Feb 20, 2023
@swick
Copy link
Contributor Author

swick commented Feb 20, 2023

Apparently I'm blind. This is a duplicate.

@debarshiray
Copy link
Member

It happens to me all the time. :)

@debarshiray
Copy link
Member

Duplicate of #1016

@debarshiray debarshiray marked this as a duplicate of #1016 Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants