delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/08/05:51:11

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=w2aqRII+LYwScgJ5UTSF
3WlVZEWvCPGDBC6mReKrSSTrAC72zxm0CTtzjZMBQZc7avsI6m0ab8eJEytEYwO/
sZMRKWZB4aAxnk0YOqywoPxzvTwJjx0qh1aVaZduvvk440dZoNBBAps07ufYnKKI
Sh8f43akXJwO+QubsmiVQM4=
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=Fv6D8vfvAmf/3QxXgAxUCxVLVF
4=; b=ibcn8ko9GnQqX+7Md085Z5F1+qtG4O5kQ0iQoi5DXzkEhgzGqCgMtmJ8MC
BvmRqTuSZpefqtp73guZ938aXU7OyyspE0SvBaifTtsxOl0xDualdmZHfog2PuIq
Pf/DcCyoYLeXc5ruYrS8grrwBjJGHBjbrKDebeqwNRKWsjGYs=
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.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=installs, houder, Seven, Houder
X-HELO: lb2-smtp-cloud2.xs4all.net
MIME-Version: 1.0
Date: Fri, 08 Apr 2016 11:50:38 +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.20160408T110800-293@post.gmane.org>
References: <065b7c7adc9b367aa54d7654d1e2550f AT xs4all DOT nl> <loom DOT 20160408T110800-293 AT post DOT gmane DOT org>
Message-ID: <096364f9dabfcf3dcc897f9215839211@xs4all.nl>
X-Sender: houder AT xs4all DOT nl (PEE45gIEUwBk99684P0ldA==)
User-Agent: XS4ALL Webmail
X-IsSubscribed: yes

On 2016-04-08 11:10, Achim Gratz wrote:
> Houder <houder <at> xs4all.nl> writes:
>> Perhaps not important, but when setup is invoked like this:
>> 
>>      E:\Setup\bld\setup.exe -B -n -R e:/Setup/test -l
>> e:/Setup/_test_repository
>> 
>> that is, with -B
>> 
>> /bin/rebaselst has trouble writing:
>> 
>> /var/cache/rebase/rebase_lst: Permission denied, and
>> /var/cache/rebase/rebase_exe: Permission denied
> 
> If you use the --no-admin option, you need to do the initial and all
> subsequent installs must be performed as the same user.

... uhm, ok.

Initial install and subsequent install were performed as the same user.

But I am missing some "Unix logic" here:

  - I modified the permissions of the files (chmod u+x)
  - invoked setup (using -B)
     - rebaselst is content now, though
     - it creates the same files '666' !!!!!
  - again, I invoke setup (using -B)
  - now rebaselst complains ...

As the files were created with the wrong permissions, I am not 
surprised.

Regards,
Henri

@@ pwd
/drv/e/Setup/test/var/cache/rebase
@@ getfacl .
# file: .
# owner: Henri
# group: None
user::rwx
group::r-x
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
@@ icacls .
. Seven\Henri:(F)
   Seven\None:(RX)
   Everyone:(RX)
   CREATOR OWNER:(OI)(CI)(IO)(F)
   CREATOR GROUP:(OI)(CI)(IO)(RX)
   Everyone:(OI)(CI)(IO)(RX)

Successfully processed 1 files; Failed processing 0 files

=====

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