delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/08/06:41:28

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:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=yTccmKV18Npmtjgmv/dp
goB+cLhle1nBc8Mdj/pMqyfjeoi0efK80rVnSeGFgziWf5LQn4V60sLSSXXoCJn9
jwNEWF/OYQG2BX5i2OWGkzHICgIp/xpy/3QhkykYqge2MbXdIgoCqzH0YAeUF4aN
9ViZ0EhXAJ4UsJqt1zznUtM=
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:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=LBqiHnkP0NFmPuBB4ZjFvxm+lW
o=; b=EeMhjiV/Fiaqb5/QatIyPC7nJsucBvgHUt+AD/BZDZZLWRJSw9LEirvEUr
rjOjodBf17RsSBd7UAkJzsQayCkUJFJ2my/Fys/AQJE9hrB2/vQGjx9nLjbJ31ex
uc7hEBCf957t6sltQBHh2NMasuEqQ2RHqZX1ZcKaU27211KNU=
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: No, score=0.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=TIME, time!, TIME!, H*f:sk:096364f
X-HELO: lb1-smtp-cloud2.xs4all.net
MIME-Version: 1.0
Date: Fri, 08 Apr 2016 12:40:50 +0200
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied
In-Reply-To: <loom.20160408T120240-961@post.gmane.org>
References: <065b7c7adc9b367aa54d7654d1e2550f AT xs4all DOT nl> <loom DOT 20160408T110800-293 AT post DOT gmane DOT org> <096364f9dabfcf3dcc897f9215839211 AT xs4all DOT nl> <loom DOT 20160408T120240-961 AT post DOT gmane DOT org>
Message-ID: <f65a9daf09d124b160f7e99ade742e20@xs4all.nl>
X-Sender: houder AT xs4all DOT nl (EOMZ4CwM6whiexCLbez+0w==)
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes

On 2016-04-08 12:31, Achim Gratz wrote:
> Houder <houder <at> xs4all.nl> writes:
>> But I am missing some "Unix logic" here:
>> 
>>   - I modified the permissions of the files (chmod u+x)
> 
> What makes you think that these files should be executable?
> 
>>   - invoked setup (using -B)
>>      - rebaselst is content now, though
>>      - it creates the same files '666' !!!!!


MY APOLOGIES FOR WASTING YOUR TIME! I meant 444 (r--r--r--). Sigh.



> They don't need to be executable.  It's all just text, and mode 666 
> means
> read and writable to everyone.  In fact they are later made read-only 
> since
> they are written to just once on creation and then moved to .old on the 
> next
> invocation.
> 
>>   - again, I invoke setup (using -B)
>>   - now rebaselst complains ...
> 
> It complains about not being able to write to a file it creates with
> writable permission.  I can't see how that can happen nor how it's the 
> fault
> of rebaselst if it does.  It seems that maybe setup can't write the ACL
> changes that go along with the chmod, which would indicate that it's 
> not
> invoked as the same user that owns the directory (which, given the ACL
> you've shown is the only one with that right).
> 
>> As the files were created with the wrong permissions, I am not
>> surprised.
> 
> For the wrong reason, I suppose.
> 
> Regards,
> Achim.
> 
> 
> --
> 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


--
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