delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/19/20:40:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of adrians AT gmail DOT com designates 10.236.76.198 as permitted sender) client-ip=10.236.76.198;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of adrians AT gmail DOT com designates 10.236.76.198 as permitted sender) smtp.mail=adrians AT gmail DOT com; dkim=pass header.i=adrians AT gmail DOT com
MIME-Version: 1.0
In-Reply-To: <4F411C7A.3070307@cornell.edu>
References: <CALc-FG90mh+ct6t8Z=KALkaon3Gng9V24U8+1jykHpXBLApS-A AT mail DOT gmail DOT com> <4F3F98C1 DOT 6000400 AT cornell DOT edu> <20120218201651 DOT GB5319 AT jethro DOT local DOT lan> <CALc-FG99afcbvH-FdhqHq_v7wfzzmHTs7Neu0e78nidsH5JCWw AT mail DOT gmail DOT com> <4F411C7A DOT 3070307 AT cornell DOT edu>
Date: Sun, 19 Feb 2012 17:39:49 -0800
Message-ID: <CALc-FG94NcCVSO1i6fFbZsMq68y3gpR5O-ECXD8bNFqgDzEVxw@mail.gmail.com>
Subject: Re: hexedit install flub...now shell seems rudimentary
From: Adrian Sandstrom <adrians AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1K1eB0d011065

That fixed it. That was a really good idea. How did you guys know the
problem was a permissions issue?

On Sun, Feb 19, 2012 at 7:59 AM, Ken Brown <kbrown AT cornell DOT edu> wrote:
> [Please don't top post.]
>
>
> On 2/18/2012 3:53 PM, Adrian Sandstrom wrote:
>>
>> I didn't have /etc/profile so I copied /etc/default/etc/profile to
>> /etc/profile.
>>
>> Aside from /etc/profile, I don't have any of the other files that
>> David mentions, but do have the profile.d directory. Here are the
>> permissions of all related files mentioned:
>>
>> bash-4.1$ ls -l profile*
>> -rw-r-----  1 adrian None 6.9K Feb 18 11:14 profile
>>
>> profile.d:
>> total 4.0K
>> -rw-r--r-- 1 adrian root 109 Jan 18 07:50 openssl.csh
>> -rw-r--r-- 1 adrian root  41 Jan 18 07:50 openssl.sh
>> -rwxr-xr-x 1 adrian root  74 Jan 29 19:13 xinit.csh*
>> -rwxr-xr-x 1 adrian root  44 Jan 29 19:13 xinit.sh*
>>
>>
>>  I did see that both base-files postinstall scripts in
>> /etc/postinstall/ were not executable:
>>
>> bash-4.1$ ls -l base*
>> -rw-rw---- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done
>> -rw-rw---- 1 adrian root  925 Feb 12 13:13 base-files-profile.sh.done
>>
>> So I changed them to be:
>>
>> bash-4.1$ ls -l base*
>> -rwxrwx--- 1 adrian root 1.2K Feb 12 13:13 base-files-mketc.sh.done*
>> -rwxrwx--- 1 adrian root  925 Feb 12 13:13 base-files-profile.sh.done*
>>
>> I ran setup again without installing anything -->  no change to terminal
>> I ran setup again selecting to reinstall hexedit -->  no change to
>> terminal
>>
>> I really appreciate your guys' help! Can't wait to find out what the issue
>> is...
>
>
> David already told you that the issue is probably the permissions on some of
> the files in the base-files package.  I would suggest that you use setup.exe
> to reinstall the base-files package, and then manually change the
> permissions as he suggested:
>
>
>>> This is probably caused by incorrect permissions in the latest
>>> base-files'
>>> package contents.
>>> A release fixing this will be available shortly.
>>> For the time being, please check and correct perms in:
>>>
>>> /etc/bash.bash_logout
>>> /etc/profile.d
>>> /etc/profile.d/tzset.sh
>>> /etc/profile.d/tzset.csh
>>> /etc/profile.d/lang.csh
>>> /etc/profile.d/lang.sh
>>> /etc/bash.bashrc
>>> /etc/skel/.inputrc
>>> /etc/skel/.profile
>>> /etc/skel/.bashrc
>>> /etc/skel/.bash_profile
>>> /etc/profile
>>>
>>> All of them should have owner/group root.root and 644 perms (rw-r--r--)
>
>
> Ken
>
>
> --
> 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


- Raw text -


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