-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Incorrect permissions are set for x11SockDir #24819
Labels
Comments
zmb3
added a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
zmb3
added a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
zmb3
added a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-actions bot
pushed a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-actions bot
pushed a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-actions bot
pushed a commit
that referenced
this issue
Nov 15, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 16, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 16, 2023
We were passing decimal 1777 instead of octal. Closes #24819
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 16, 2023
We were passing decimal 1777 instead of octal. Closes #24819
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
OpenNewXServerListener
methods createsx11SockDir
directory with1777
permissions, instead of0o1777
- it is decimal vs octal problem. The permissions that are now set are1777 = 0o3361
.teleport/lib/sshutils/x11/conn.go
Lines 76 to 79 in 9099591
Moreover, the
StickyBit
should be set with theos.ModeSticky
to work on all platforms. E.g., the0o1777
won't set theStickyBit
on OSX.The text was updated successfully, but these errors were encountered: