Running sshd in cygwin: "/var/empty must be owned by root..."
6
votes
1
answer
4576
views
I installed OpenSSH on my Windows 7 system so I could tunnel my VNC into it from my Arch machine. However, when I run
/usr/sbin/sshd -D
on the W7 machine, I get the error: /var/empty must be owned by root and not group or world-writable.
This is the output of the ls -All /var
:
$ ls -All /var
total 0
drwxr-xr-x+ 1 {my_usrnm} None 0 Jul 15 21:39 cache
drw-------+ 1 cyg_server Administrators 0 Jul 15 21:43 empty
drwxr-xr-x+ 1 {my_usrnm} None 0 Jul 15 21:39 lib
drwxrwxrwt+ 1 {my_usrnm} None 0 Jul 15 21:45 log
drwxrwxrwt+ 1 {my_usrnm} None 0 Jul 15 23:36 run
drwxrwxrwt+ 1 {my_usrnm} None 0 Jul 15 21:39 tmp
I've tried a few of the permissions fixes and rebooted and reinstalled OpenSSH (by running ssh-host-config
) at least 10 times, but nothing had fixed it.
How do I fix this error? Thanks!
Asked by ZuluDeltaNiner
(361 rep)
Jul 16, 2016, 06:43 AM
Last activity: Jun 1, 2025, 07:05 AM
Last activity: Jun 1, 2025, 07:05 AM