delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/25/10:01:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Hb
I4CM444Ri/vXFZ0qiawj2ltnE+yM00+5rCAkXwI9M8ilHKz/JyGgbGMQ667xvYKv
AzIz4ic2tv/CroQKbLfWjQFQ91eUxeFWzTnGdqHtlNc6h+Cr3PWJWlzu1E1pguPb
HgipZN8bXYzr6jANMvH2/P8B28W9lB9hPjZ2/2rgc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=r7bv4ZrO
XbvsGAoq/4SldfmKnso=; b=H4EuUgxuX4NA9TGG5oFIYSWMHciHsMpVv7zsVsYn
ZpXK5xLZbCAeau70xvyxkG8Eutze0/nWltVGRiE9Egg+k8OajdlvlnWA4yLtPjnq
OAr3HCwHXeSDIYQ3wJlv/qVHokIPGV6/pgr+rXmizNd8kEoXRqutovkn8alLcqEN
UUM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLY,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-yk0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.236.47.229 with SMTP id t65mr3019006yhb.91.1424876498141; Wed, 25 Feb 2015 07:01:38 -0800 (PST)
In-Reply-To: <53575653.20150225033801@yandex.ru>
References: <CAO73BABLaxt3=V-kQ9-x-Gpdab1jqr0YA8Mc7bdqBuz_i2aHgg AT mail DOT gmail DOT com> <53575653 DOT 20150225033801 AT yandex DOT ru>
Date: Wed, 25 Feb 2015 10:01:37 -0500
Message-ID: <CAO73BACZ_3E=-Bgia8bv9PNpH5C7ZKSJQVYGt9aX8vCOVDXtxQ@mail.gmail.com>
Subject: Re: Cannot change permission of /var/empty
From: Mirko Vukovic <mirko DOT vukovic AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 AT yandex DOT 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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019