delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/08/06:31: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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=GN/yuTBBPSBRxGwUNGpU0qq99J7gPUlJzuNaCb5LIgNszeFU3sxZG
sqj+/v7z8NriuvIhNOLQvVWTWxn3sWtPZRQgziRGj2WF9FYn753hlSnis8ekScdk
czhvGDjYxfaQvRnSNtTqtK69XL6cEF9yaOXChldoi3iQdNyRDTR83E=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=378w6+BJurz9YsxJFDoiim9b9Rw=; b=X7J16rH8gEvQ/SGEqQPpVzhiIAeX
WQlYLf7mMhe5eJHBU9UwCV2MO0BH/2SJ8BAGHGC17sbX6FK6XjjDZxViN3P5qfGY
cnHH6fxkRG3PGQ0OSJKH8sj7DrQ91VN6cZrbdSs+lXTVbBqdUUGCd5H4LY8WHvQO
aIgnmdJLvhd544Y=
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=1.2 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=H*f:sk:096364f, acl
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: /bin/rebaselst: cannot create =?utf-8?b?L3Zhci9jYWNoZS9yZWJhc2UvcmViYXNlX2xzdDo=?= Permission denied
Date: Fri, 8 Apr 2016 10:31:10 +0000 (UTC)
Lines: 33
Message-ID: <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>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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

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

- Raw text -


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