You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
When running stenotype via stenographer with the option to drop privileges from root to another user we run into a problem. The temporary packet directory (/tmp/stenographer${NUMBER}/PKT0/${RANDOM}) is created on the filesystem before dropping the privileges, thereby setting the owner and group of the temporary packet directory to root:root. This causes the first attempt of the thread to write a packet to the temporary directory to fail and exit.
A work-around is to start the stenographer watchdog process as the same user, however a simple remedy would be to create the temporary packet directory after dropping the privileges or simply setting the owner and group of that directory to the user and group supplied in the options.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running stenotype via stenographer with the option to drop privileges from root to another user we run into a problem. The temporary packet directory (
/tmp/stenographer${NUMBER}/PKT0/${RANDOM}
) is created on the filesystem before dropping the privileges, thereby setting the owner and group of the temporary packet directory to root:root. This causes the first attempt of the thread to write a packet to the temporary directory to fail and exit.A work-around is to start the stenographer watchdog process as the same user, however a simple remedy would be to create the temporary packet directory after dropping the privileges or simply setting the owner and group of that directory to the user and group supplied in the options.
The text was updated successfully, but these errors were encountered: