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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 Apr 2016 12:40:50 +0200 From: Houder To: cygwin AT cygwin DOT com Subject: Re: /bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied In-Reply-To: References: <065b7c7adc9b367aa54d7654d1e2550f AT xs4all DOT nl> <096364f9dabfcf3dcc897f9215839211 AT xs4all DOT nl> Message-ID: 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 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