This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cannot change permission of /var/empty
- From: Mirko Vukovic <mirko dot vukovic at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 25 Feb 2015 10:01:37 -0500
- Subject: Re: Cannot change permission of /var/empty
- Authentication-results: sourceware.org; auth=none
- References: <CAO73BABLaxt3=V-kQ9-x-Gpdab1jqr0YA8Mc7bdqBuz_i2aHgg at mail dot gmail dot com> <53575653 dot 20150225033801 at yandex dot ru>
Andrey,
your command, "setfacl -b", helped me fix the file permission issue
described below:
On Tue, Feb 24, 2015 at 7:38 PM, Andrey Repin <anrdaemon@yandex.ru> wrote:
> Greetings, Mirko Vukovic!
>
>> (Cygwin64, Windows 7, cygcheck attached - with some site details omitted)
>
>> I updated cygwin64 yesterday, and sshd stopped working. I reinstalled
>> cygwin64, configured sshd, but it is still failing.
>
>> The message in /var/log/sshd.log is:
>
>> /var/empty must be owned by root and not group or world-writable.
>
>> I tried fixing the permissions (started shell as administrator) but I
>> cannot change the group permission via chmod g-w. I don't get any
>> error messages. Here are the permissions for /var/empty (some details
>> elided):
>
>>>ls -ld /var/empty
>> drwxr-xr--+ 1 MACHINE+cyg_server Administrators 0 Feb 24 16:12 /var/empty/
>
>> I am member of the administrators group on my machine. The cyg_server
>> and sshd users look ok.
>
>> Any thoughts on why I cannot change the permission?
>
> setfacl -b
> Or just remove it altogether.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@yandex.ru) 25.02.2015, <03:37>
>
> Sorry for my terrible english...
>
Your English was more than adequate for this job :-)
Mirko
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple