-
Notifications
You must be signed in to change notification settings - Fork 823
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
nice fails with EACCES/Permission denied #1838
Comments
On older builds, non privileged users could execute Testing on a linux box, strace gives
|
Problem still persists on latest libc 2.23. |
This also causes the python os.nice() function to return "Operation not permitted". |
I see a bunch of these errors
every time I use linuxbrew and run |
@tnguyen14 - Yes, same issue here (wsl16) |
same issue here |
I am using zsh and oh-my-zsh, and had the same issue before. |
@swun90 when I source ~/.zshrc it says 'command not found' (upsetopt). I note I already have 'unsetopt BG_NICE' on the last line, but still getting the issue. when I add 'unsetopt BG_LINE' I get 'no such option BG_LINE' |
Thanks @swun90, I`m also use oh-my-zsh. Your solution fix this annoying message,
@farmerbean try |
Thanks @iegik - in there already, but persists. |
Still happening on 16299 (when using the |
+1 to being rekd by this |
same over here. |
Also having this issue. Adding |
This issue also affects Linuxbrew. See Linuxbrew/brew#695 |
Looks like we're being too strict about checking the permissions for the setpriority syscall when who = 0. I'll fix this. |
Fixed in 17738. |
Woohoo! Thanks, Ben! |
I still seem to be getting this issue on a updated version of wsl |
Does not work with WSL: https://paste.yandex-team.ru/687055 It's known issue microsoft/WSL#1838 issue:https://st.yandex-team.ru/DEVTOOLS-4896 ref:10223a059c4b3467c1dad27c9dece5cb794a1fc5
@benhillis Some people are reporting that they're still seeing this issue. Are there particular instructions that the user needs to follow to get this fix? |
@sjackman - What Windows build are they running? |
@EshChn @LightningsFury Are you still seeing this issue with |
Hi, folks. |
@juliandres this issue is marked as fixed in build 17738. So make sure to upgrade to that version or higher! |
@mscraigloewen I've just upgraded to Version 1903, Build 18362. The issue seems to be gone. Thank you. :) |
nice
fails to set priority on process, failing with permission denied.Windows build
15063 (issue started on 15048)
Steps / All commands required to reproduce the error from a brand new installation
Run
nice -n 5 nice
.Strace of the failing command
None, /usr/bin/nice is from coreutils.
The text was updated successfully, but these errors were encountered: