Resolved: Re: setup stuck on cygwin.ldif

Shaddy Baddah lithium-cygwin@shaddybaddah.name
Thu Oct 12 04:02:00 GMT 2017


Hi,

On 12/10/17 06:15, Ken Brown wrote:
> On 10/8/2017 9:46 AM, Shaddy Baddah wrote:
>> Hi,
>>
>> I have a weird problem happening... so I have tried to update a 64-bit
>> Cygwin installation on Windows 10 Pro. I closed all Cygwin processes,
>> and a ps -ef is showing only the ps process itself.
>>
>> In anycase, during the install I was prompted that the file
>> /usr/share/cygwin/cygwin.ldif was busy.
>>
>> I ran Process Explorer and searched for what might have the file open.
>> I couldn't find anything. I clicked retry a number of times, but it
>> wouldn't yield. Finally, I clicked continue. And now I'm stuck in this
>> endless loop on the file:
>>
>> https://imgur.com/Nj35Y3T
>
> The progress bar shows that your disk is almost full.  Could that be the
> problem?

Thanks for your concern.

I've found the problem. I haven't been vigilant in my
installation/update procedure. And I've paid a high price.

I normally only ever install as a "software user", portapps, that I have
to "runas" to obtain a command prompt to. From that command prompt I run
the setup.exe, and all the files end up owned by portapps, not my normal
desktop user.

I instituted this policy more than a decade ago when I accidentally
corrupted my install, by running a script or something like that, that
deleted some "system files" due to a path issue. My desktop user has no
permissions to modify any installed Cygwin files other than in their
/home directory. The policy could work using a privileged user, but I
also seek to avoid being dependant on using a privileged user on my
desktop.

Well, I've corrupted my install now by accidentally running an update
last month as the elevated administrator user. A bunch of directories
are now owned by the privileged user, and the portapps user can't
modify the directories.

I'll solve my own mess now. Thanks again.

-- 
Regards,
Shaddy


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