Running sshd in cygwin: “/var/empty must be owned by root…” Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionI killed sshd but it's still running?How can I tell if sshd is running with ClientAliveInterval > 0?ssh daemon error: sshd must be ownSeparate SSHD Authpriv logs into /var/log/sshd, all other authpriv logging goes to messagesError when running TMUX under CYGWINRunning script in cygwin enviromentRunning Docker under Windows/cygwin environmentRunning JAVA in Cygwin through bash scriptHave bash script running every min in CygwinCan't chown 0 (root) in Cygwin
"Lost his faith in humanity in the trenches of Verdun" — last line of an SF story
How fail-safe is nr as stop bytes?
Aligning an equation at multiple points, with both left and right alignment, as well as equals sign alignment
AppleTVs create a chatty alternate WiFi network
Time to Settle Down!
Why is Nikon 1.4g better when Nikon 1.8g is sharper?
If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?
Why limits give us the exact value of the slope of the tangent line?
How to dry out epoxy resin faster than usual?
Did any compiler fully use 80-bit floating point?
Why are vacuum tubes still used in amateur radios?
What initially awakened the Balrog?
How to draw/optimize this graph with tikz
Generate an RGB colour grid
Is there a kind of relay that only consumes power when switching?
Can anything be seen from the center of the Boötes void? How dark would it be?
Amount of permutations on an NxNxN Rubik's Cube
Most bit efficient text communication method?
What do you call the main part of a joke?
Should there be a hyphen in the construction "IT affin"?
How many serial ports are on the Pi 3?
Would it be possible to dictate a bech32 address as a list of English words?
How could we fake a moon landing now?
Find 108 by using 3,4,6
Running sshd in cygwin: “/var/empty must be owned by root…”
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionI killed sshd but it's still running?How can I tell if sshd is running with ClientAliveInterval > 0?ssh daemon error: sshd must be ownSeparate SSHD Authpriv logs into /var/log/sshd, all other authpriv logging goes to messagesError when running TMUX under CYGWINRunning script in cygwin enviromentRunning Docker under Windows/cygwin environmentRunning JAVA in Cygwin through bash scriptHave bash script running every min in CygwinCan't chown 0 (root) in Cygwin
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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!
ssh sshd cygwin
|
show 9 more comments
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!
ssh sshd cygwin
Did you installsshd
through thecygwin
installer?
– Julie Pelletier
Jul 16 '16 at 6:47
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
1
it says owned bycyg_server
shouldn't it sayroot
? trychown root /var/empty
– Jasen
Jul 16 '16 at 6:51
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
It depends on the user the service runs as, and you need to run thecygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as theSYSTEM
user.
– Julie Pelletier
Jul 16 '16 at 6:55
|
show 9 more comments
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!
ssh sshd cygwin
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!
ssh sshd cygwin
ssh sshd cygwin
asked Jul 16 '16 at 6:43
ZuluDeltaNinerZuluDeltaNiner
191128
191128
Did you installsshd
through thecygwin
installer?
– Julie Pelletier
Jul 16 '16 at 6:47
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
1
it says owned bycyg_server
shouldn't it sayroot
? trychown root /var/empty
– Jasen
Jul 16 '16 at 6:51
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
It depends on the user the service runs as, and you need to run thecygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as theSYSTEM
user.
– Julie Pelletier
Jul 16 '16 at 6:55
|
show 9 more comments
Did you installsshd
through thecygwin
installer?
– Julie Pelletier
Jul 16 '16 at 6:47
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
1
it says owned bycyg_server
shouldn't it sayroot
? trychown root /var/empty
– Jasen
Jul 16 '16 at 6:51
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
It depends on the user the service runs as, and you need to run thecygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as theSYSTEM
user.
– Julie Pelletier
Jul 16 '16 at 6:55
Did you install
sshd
through the cygwin
installer?– Julie Pelletier
Jul 16 '16 at 6:47
Did you install
sshd
through the cygwin
installer?– Julie Pelletier
Jul 16 '16 at 6:47
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
1
1
it says owned by
cyg_server
shouldn't it say root
? try chown root /var/empty
– Jasen
Jul 16 '16 at 6:51
it says owned by
cyg_server
shouldn't it say root
? try chown root /var/empty
– Jasen
Jul 16 '16 at 6:51
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
It depends on the user the service runs as, and you need to run the
cygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as the SYSTEM
user.– Julie Pelletier
Jul 16 '16 at 6:55
It depends on the user the service runs as, and you need to run the
cygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as the SYSTEM
user.– Julie Pelletier
Jul 16 '16 at 6:55
|
show 9 more comments
1 Answer
1
active
oldest
votes
The directory owner and permission are correct.
During configuration use the PrivilegeSeparation option.
Start the demon as service
cygrunsrv -S sshd
Example of directory permission on a functional system
$ icacls $(cygpath -w /var/empty)
E:cygwin64varempty NULL SID:(DENY)(Rc,S,REA,X,DC)
MATZERIcyg_server:(F)
BUILTINAdministrators:(RX)
NT AUTHORITYSYSTEM:(RX)
BUILTINAdministrators:(RX)
Everyone:(RX)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX)
Everyone:(OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
They are reported in the cygwin way as
$ getfacl /var/empty
# file: /var/empty
# owner: cyg_server
# group: Administrators
user::rwx
group::r-x
group:SYSTEM:r-x
group:Administrators:r-x
mask:r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
If there are spurious extra ACL permission the usage of setfacl -b /var/empty/
could be useful.
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.
– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output oficacls $(cygpath -w /var/empty)
?
– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f296275%2frunning-sshd-in-cygwin-var-empty-must-be-owned-by-root%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The directory owner and permission are correct.
During configuration use the PrivilegeSeparation option.
Start the demon as service
cygrunsrv -S sshd
Example of directory permission on a functional system
$ icacls $(cygpath -w /var/empty)
E:cygwin64varempty NULL SID:(DENY)(Rc,S,REA,X,DC)
MATZERIcyg_server:(F)
BUILTINAdministrators:(RX)
NT AUTHORITYSYSTEM:(RX)
BUILTINAdministrators:(RX)
Everyone:(RX)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX)
Everyone:(OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
They are reported in the cygwin way as
$ getfacl /var/empty
# file: /var/empty
# owner: cyg_server
# group: Administrators
user::rwx
group::r-x
group:SYSTEM:r-x
group:Administrators:r-x
mask:r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
If there are spurious extra ACL permission the usage of setfacl -b /var/empty/
could be useful.
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.
– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output oficacls $(cygpath -w /var/empty)
?
– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
add a comment |
The directory owner and permission are correct.
During configuration use the PrivilegeSeparation option.
Start the demon as service
cygrunsrv -S sshd
Example of directory permission on a functional system
$ icacls $(cygpath -w /var/empty)
E:cygwin64varempty NULL SID:(DENY)(Rc,S,REA,X,DC)
MATZERIcyg_server:(F)
BUILTINAdministrators:(RX)
NT AUTHORITYSYSTEM:(RX)
BUILTINAdministrators:(RX)
Everyone:(RX)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX)
Everyone:(OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
They are reported in the cygwin way as
$ getfacl /var/empty
# file: /var/empty
# owner: cyg_server
# group: Administrators
user::rwx
group::r-x
group:SYSTEM:r-x
group:Administrators:r-x
mask:r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
If there are spurious extra ACL permission the usage of setfacl -b /var/empty/
could be useful.
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.
– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output oficacls $(cygpath -w /var/empty)
?
– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
add a comment |
The directory owner and permission are correct.
During configuration use the PrivilegeSeparation option.
Start the demon as service
cygrunsrv -S sshd
Example of directory permission on a functional system
$ icacls $(cygpath -w /var/empty)
E:cygwin64varempty NULL SID:(DENY)(Rc,S,REA,X,DC)
MATZERIcyg_server:(F)
BUILTINAdministrators:(RX)
NT AUTHORITYSYSTEM:(RX)
BUILTINAdministrators:(RX)
Everyone:(RX)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX)
Everyone:(OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
They are reported in the cygwin way as
$ getfacl /var/empty
# file: /var/empty
# owner: cyg_server
# group: Administrators
user::rwx
group::r-x
group:SYSTEM:r-x
group:Administrators:r-x
mask:r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
If there are spurious extra ACL permission the usage of setfacl -b /var/empty/
could be useful.
The directory owner and permission are correct.
During configuration use the PrivilegeSeparation option.
Start the demon as service
cygrunsrv -S sshd
Example of directory permission on a functional system
$ icacls $(cygpath -w /var/empty)
E:cygwin64varempty NULL SID:(DENY)(Rc,S,REA,X,DC)
MATZERIcyg_server:(F)
BUILTINAdministrators:(RX)
NT AUTHORITYSYSTEM:(RX)
BUILTINAdministrators:(RX)
Everyone:(RX)
CREATOR OWNER:(OI)(CI)(IO)(F)
CREATOR GROUP:(OI)(CI)(IO)(RX)
Everyone:(OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
They are reported in the cygwin way as
$ getfacl /var/empty
# file: /var/empty
# owner: cyg_server
# group: Administrators
user::rwx
group::r-x
group:SYSTEM:r-x
group:Administrators:r-x
mask:r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
If there are spurious extra ACL permission the usage of setfacl -b /var/empty/
could be useful.
edited Jul 17 '16 at 4:39
answered Jul 16 '16 at 14:46
matzerimatzeri
52135
52135
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.
– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output oficacls $(cygpath -w /var/empty)
?
– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
add a comment |
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.
– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output oficacls $(cygpath -w /var/empty)
?
– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
I still get the /var/empty message in sshd.log. I can ssh into that computer from that computer (i.e. localhost), but I can't from my arch machine (it times out).
– ZuluDeltaNiner
Jul 16 '16 at 16:20
My permissions were not correct, so I ran
$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.– ZuluDeltaNiner
Jul 17 '16 at 16:19
My permissions were not correct, so I ran
$ setfacl -s "u::rwx,g::r-x,o::r-x" /var/empty
, which gave me this output for getfacl (pastebin). However, I still get the /var/empty error.– ZuluDeltaNiner
Jul 17 '16 at 16:19
what is the output of
icacls $(cygpath -w /var/empty)
?– matzeri
Jul 17 '16 at 17:04
what is the output of
icacls $(cygpath -w /var/empty)
?– matzeri
Jul 17 '16 at 17:04
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
pastebin
– ZuluDeltaNiner
Jul 17 '16 at 17:24
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f296275%2frunning-sshd-in-cygwin-var-empty-must-be-owned-by-root%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you install
sshd
through thecygwin
installer?– Julie Pelletier
Jul 16 '16 at 6:47
yes @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:49
1
it says owned by
cyg_server
shouldn't it sayroot
? trychown root /var/empty
– Jasen
Jul 16 '16 at 6:51
other sites I looked at (including this: stackoverflow.com/a/20473488/1184062), show the owner as cyg_server @JuliePelletier
– ZuluDeltaNiner
Jul 16 '16 at 6:53
It depends on the user the service runs as, and you need to run the
cygwin
shell as an administrator. If you're already running it as an administrator, I guess your service could be running as theSYSTEM
user.– Julie Pelletier
Jul 16 '16 at 6:55