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

error: /dev/stderr permission denied #7

Closed
aerth opened this issue Feb 8, 2017 · 1 comment
Closed

error: /dev/stderr permission denied #7

aerth opened this issue Feb 8, 2017 · 1 comment

Comments

@aerth
Copy link
Owner

aerth commented Feb 8, 2017

error opening file: open /dev/stderr: permission denied
Hint: touch /dev/stderr, or chown/chmod it so that the cosgo process can access it.

@aerth
Copy link
Owner Author

aerth commented Feb 8, 2017

I can only reproduce this when using a "system" user, one with no "shell".


sudo adduser --system cosgo-test
cd ~cosgo-test
sudo -u cosgo-test cosgo

Can successfully start server with --system user using the "log" flag.

sudo -u cosgo-test cosgo -log debug.log & sudo -u cosgo-test tail -f debug.log

@aerth aerth closed this as completed in 3e44640 Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant