This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cannot change permission of /var/empty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]