/bin/rebaselst: cannot create /var/cache/rebase/rebase_lst: Permission denied

Houder houder@xs4all.nl
Fri Apr 8 10:41:00 GMT 2016


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



More information about the Cygwin mailing list