No errors when removing socket belonging to other user

Andrey Repin anrdaemon@yandex.ru
Thu Mar 31 13:43:41 GMT 2022


Greetings, All!

I've had quite a situation today.
My machine joined company domain, and my user's credentials have changed.
However, new user retained local administrator access.
I've copied configuration and startup scripts from my old profile and suddenly
discovered that the script intended to start ssh-pageant hangs.
Much to my surprise, the hang occurred, when the script tried to remove old
socket in /var/run/.
icacls revealed that, indeed, the socket had only special access for "all" and
"system" users, and no access for local admin.
But shouldn't it report at least "access denied" in such case, and not simply
hang?

Trying to replicate the issue manually with a simple file failed so far.
Would use some help.


-- 
With best regards,
Andrey Repin
Thursday, March 31, 2022 16:20:55

Sorry for my terrible english...



More information about the Cygwin mailing list